[MajorSecurity SA-081]Contao CMS 2.9.2 - Persistent Cross Site Scripting Issue
Details
=============
Product: Contao CMS 2.9.2
Security-Risk: moderated
Remote-Exploit: yes
Vendor-URL: http://www.contao.org/
Advisory-Status: published
Credits
=============
Discovered by: David Vieira-Kurz
Affected Products:
=============
Contao CMS 2.9.2
Prior versions may also be vulnerable
Description
=============
"Contao is an open source content management system (CMS) for people who want a
professional internet presence that is easy to maintain." - from www.contao.org
More Details
=============
I have discovered some vulnerabilities in Contao CMS 2.9.2, which can be exploited
by malicious people to conduct persistent cross-site scripting attacks. Input
passed directly over the "HTTP_X_FORWARDED_FOR" header in
"/system/libraries/Environment.php" is not properly sanitised before being stored
and returned to the user out from the "/system/modules/comments/Comments.php" file
when the user browses the "/contao/main.php?do=comments" site. This can be
exploited to execute arbitrary HTML and script code in a user's browser session in
context of an affected site.
Solution
=============
Update to the patched version 2.9.3.
Timeline
================
2010-12-24, vendor informed ( see ticket 2751 )
2011-01-01, vendor confirmed the issue
2011-01-06, vendor relased a patched version(2.9.3)
2011-01-12, advisory published
Use of terms
================
Unaltered electronic reproduction of this advisory is permitted. For all other
reproduction or publication, in printing or otherwise, contact us for permission.
Use of the advisory constitutes acceptance for use in an "as is" condition. All
warranties are excluded. In no event shall MajorSecurity be liable for any damages
whatsoever including direct, indirect, incidental, consequential, loss of business
profits or special damages, even if MajorSecurity has been advised of the
possibility of such damages.
{"id": "SECURITYVULNS:DOC:25498", "bulletinFamily": "software", "title": "[MajorSecurity SA-081]Contao CMS 2.9.2 - Persistent Cross Site Scripting Issue", "description": "[MajorSecurity SA-081]Contao CMS 2.9.2 - Persistent Cross Site Scripting Issue\r\n\r\nDetails\r\n=============\r\nProduct: Contao CMS 2.9.2\r\nSecurity-Risk: moderated\r\nRemote-Exploit: yes\r\nVendor-URL: http://www.contao.org/\r\nAdvisory-Status: published\r\n\r\nCredits\r\n=============\r\nDiscovered by: David Vieira-Kurz\r\n\r\nAffected Products:\r\n=============\r\nContao CMS 2.9.2\r\nPrior versions may also be vulnerable\r\n\r\nDescription\r\n=============\r\n"Contao is an open source content management system (CMS) for people who want a\r\nprofessional internet presence that is easy to maintain." - from www.contao.org\r\n\r\nMore Details\r\n=============\r\nI have discovered some vulnerabilities in Contao CMS 2.9.2, which can be exploited\r\nby malicious people to conduct persistent cross-site scripting attacks. Input\r\npassed directly over the "HTTP_X_FORWARDED_FOR" header in\r\n"/system/libraries/Environment.php" is not properly sanitised before being stored\r\nand returned to the user out from the "/system/modules/comments/Comments.php" file\r\nwhen the user browses the "/contao/main.php?do=comments" site. This can be\r\nexploited to execute arbitrary HTML and script code in a user's browser session in\r\ncontext of an affected site.\r\n\r\nSolution\r\n=============\r\nUpdate to the patched version 2.9.3.\r\n\r\nTimeline\r\n================\r\n2010-12-24, vendor informed ( see ticket 2751 )\r\n2011-01-01, vendor confirmed the issue\r\n2011-01-06, vendor relased a patched version(2.9.3)\r\n2011-01-12, advisory published\r\n\r\nUse of terms\r\n================\r\nUnaltered electronic reproduction of this advisory is permitted. For all other\r\nreproduction or publication, in printing or otherwise, contact us for permission.\r\nUse of the advisory constitutes acceptance for use in an "as is" condition. All\r\nwarranties are excluded. In no event shall MajorSecurity be liable for any damages\r\nwhatsoever including direct, indirect, incidental, consequential, loss of business\r\nprofits or special damages, even if MajorSecurity has been advised of the\r\npossibility of such damages.", "published": "2011-01-18T00:00:00", "modified": "2011-01-18T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:25498", "reporter": "Securityvulns", "references": [], "cvelist": [], "type": "securityvulns", "lastseen": "2018-08-31T11:10:38", "edition": 1, "viewCount": 20, "enchantments": {"score": {"value": 0.0, "vector": "NONE"}, "dependencies": {"references": []}, "backreferences": {"references": [{"type": "securityvulns", "idList": ["SECURITYVULNS:VULN:11353"]}]}, "exploitation": null, "vulnersScore": 0.0}, "affectedSoftware": [], "immutableFields": [], "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1647589307, "score": 1659730939}}