{"exploit":{"id":"EDB-32808","name":"Magento 1.2 - '/app/code/core/Mage/Admin/Model/Session.php?login['Username']' Cross-Site Scripting (XSS)","description":"Magento 1.2 - '/app/code/core/Mage/Admin/Model/Session.php?login['Username']' Cross-Site Scripting (XSS)","cves":["CVE-2009-0541"],"author":"Loukas Kalenderidis","published":"2009-02-24","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/32808","path":"exploits/php/webapps/32808.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-32808.txt","vulnerabilities":[{"id":"CVE-2009-0541","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple cross-site scripting (XSS) vulnerabilities in Magento 1.2.0 and 1.2.1.1 allow remote attackers to inject arbitrary web script or HTML via (1) the username field in an admin/ request to index.php, possibly related to the login[username] parameter and the app/code/core/Mage/Admin/Model/Session.php login function; (2) the email address field in an admin/index/forgotpassword/ request to index.php, possibly related to the email parameter and the app/code/core/Mage/Adminhtml/controllers/IndexController.php forgotpasswordAction function; or (3) the return parameter to the default URI under downloader/.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-0541","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-0541"},"updatedAt":"2024-08-07T04:40:05.130Z","retrievedAt":"2026-11-27T03:58:37.407Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-32808.png?v=2","url":"https://exploitbin.com/exploits/EDB-32808","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-32808/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-32808/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2009/https://www.securityfocus.com/bid/33872/info\n\nMagento is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input.\n\nAttacker-supplied HTML and script code would execute in the context of the affected site, potentially allowing the attacker to steal cookie-based authentication credentials.\n\nMagento 1.2.0 is vulnerable; other versions may also be affected.\n\n----------------------------------------\n\nhttp://www.example.com/index.php/admin/\nUsername: \"><script>alert('xss')</script>","sha256":"cc5a1e0b4b8505de3612b4de57a22090459a43cb58956ebeb8d0f1280e923b3b","bytes":582,"fetchedAt":"2026-11-27T17:12:13.825Z","encoding":"utf-8 (display only; download retains original bytes)"}