cbcvebase.
CVE-2013-0753
published 2013-01-13

CVE-2013-0753: Use-after-free vulnerability in the serializeToStream implementation in the XMLSerializer component in Mozilla Firefox before 18.0, Firefox ESR 10.x before…

PriorityP267critical9.3CVSS 2.0
AVNACMAuNCCICAC
EXPLOIT
EPSS
51.32%
98.8th percentile
Use-after-free vulnerability in the serializeToStream implementation in the XMLSerializer component in Mozilla Firefox before 18.0, Firefox ESR 10.x before 10.0.12 and 17.x before 17.0.2, Thunderbird before 17.0.2, Thunderbird ESR 10.x before 10.0.12 and 17.x before 17.0.2, and SeaMonkey before 2.15 allows remote attackers to execute arbitrary code via crafted web content.

Affected

29 ranges· showing 25
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
mozillafirefox< 18.018.0
mozillafirefox>= 10.0 < 10.0.1210.0.12
mozillafirefox>= 17.0 < 17.0.217.0.2
mozillaseamonkey< 2.152.15
mozillathunderbird< 17.0.217.0.2
mozillathunderbird_esr>= 10.0 < 10.0.1210.0.12
mozillathunderbird_esr>= 17.0 < 17.0.217.0.2
opensuseopensuse
opensuseopensuse
opensuseopensuse
redhatenterprise_linux_desktop
redhatenterprise_linux_desktop
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_server
redhatenterprise_linux_server
redhatenterprise_linux_server_aus
redhatenterprise_linux_workstation
redhatenterprise_linux_workstation
suselinux_enterprise_desktop
suselinux_enterprise_desktop

Detection & IOCsextracted from sources · hover to see the quote

urlhttp://www.zerodayinitiative.com/advisories/ZDI-13-006/
urlhttp://www.mozilla.org/security/announce/2013/mfsa2013-16.html
urlhttps://bugzilla.mozilla.org/show_bug.cgi?id=814001
other0x0c101008
other0x0c10100c
other0x77c3ee16
other0x77c50d13
other0x77c15ed5
otherchunk_size = 0x40000
bytes
\x64\xa1\x18\x00\x00\x00
  • The exploit targets Firefox 17.0 / Windows XP SP3 via a browser-delivered HTML page using heap spray with chunk size 0x40000 and a fake vftable pointer at 0x0c10100c in sprayed memory.
  • The exploit uses serializeToStream with a specially crafted OutputStream defining its own write function to trigger the use-after-free of an Element object.
  • The exploit module sets EXITFUNC to 'process' and uses PrependMigrate, with payload BadChars of \x00 and DisableNops true — useful for payload-level detection.
  • The stack pivot gadget used is 'xchg eax,esp # ret' from msvcrt.dll at 0x77c15ed5 on Windows XP SP3 — monitor for ROP chains pivoting via msvcrt in Firefox process context.
  • Heap spray uses 0x40000-byte chunks with a 0x10-byte header; detect large repeated heap allocations of this size in browser processes.
  • ·The module was tested successfully only on Firefox 17.0.1 ESR, 17.0.1 and 17.0 on Windows XP SP3; exploitation on other targets is not confirmed.
  • ·Payload space is set to 30000 bytes as a sprayed chunk value; this is a module-specific configuration and not a hard constraint of the vulnerability.

CVSS provenance

nvdv2.09.3CRITICALAV:N/AC:M/Au:N/C:C/I:C/A:C
vendor_redhat9.3CRITICAL
vendor_ubuntu9.3CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.