PHPCMS Cross-Site Scripting Vulnerability
BID:11765
Info
PHPCMS Cross-Site Scripting Vulnerability
| Bugtraq ID: | 11765 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 26 2004 12:00AM |
| Updated: | Nov 26 2004 12:00AM |
| Credit: | Cyrille Barthelemy <[email protected]> disclosed this vulnerability. |
| Vulnerable: |
phpCMS phpCMS 1.2.1 phpCMS phpCMS 1.2 .0 phpCMS phpCMS 1.1.9 |
| Not Vulnerable: |
phpCMS phpCMS 1.2.1 pl1 |
Discussion
PHPCMS Cross-Site Scripting Vulnerability
It is reported that phpCMS is susceptible to a cross-site scripting vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied input prior to including it in dynamically generated Web pages.
It is reported that in order for phpCMS to be vulnerable, it must be configured with one, or both of 'STEALTH', or 'STEALTH_SECURE' modes being disabled.
This issue could permit a remote attacker to create a malicious URI link that includes hostile HTML and script code. If this link were to be followed, the hostile code may be rendered in the web browser of the victim user. This would occur in the security context of the affected web site and may allow for theft of cookie-based authentication credentials or other attacks.
Versions prior to 1.2.1pl1 are reportedly affected by this issue.
It is reported that phpCMS is susceptible to a cross-site scripting vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied input prior to including it in dynamically generated Web pages.
It is reported that in order for phpCMS to be vulnerable, it must be configured with one, or both of 'STEALTH', or 'STEALTH_SECURE' modes being disabled.
This issue could permit a remote attacker to create a malicious URI link that includes hostile HTML and script code. If this link were to be followed, the hostile code may be rendered in the web browser of the victim user. This would occur in the security context of the affected web site and may allow for theft of cookie-based authentication credentials or other attacks.
Versions prior to 1.2.1pl1 are reportedly affected by this issue.
Exploit / POC
PHPCMS Cross-Site Scripting Vulnerability
An example URI sufficient to exploit this vulnerability is provided:
http://www.example.com/parser/parser.php?file=<script>alert(document.cookie)</script>
An example URI sufficient to exploit this vulnerability is provided:
http://www.example.com/parser/parser.php?file=<script>alert(document.cookie)</script>
Solution / Fix
PHPCMS Cross-Site Scripting Vulnerability
Solution:
The vendor has released version 1.2.1pl1 to address this issue:
phpCMS phpCMS 1.1.9
phpCMS phpCMS 1.2 .0
phpCMS phpCMS 1.2.1
Solution:
The vendor has released version 1.2.1pl1 to address this issue:
phpCMS phpCMS 1.1.9
-
phpCMS phpcms-1.2.1pl1.tar.gz
http://prdownloads.sourceforge.net/phpcms/phpcms-1.2.1pl1.tar.gz?downl oad
phpCMS phpCMS 1.2 .0
-
phpCMS phpcms-1.2.1pl1.tar.gz
http://prdownloads.sourceforge.net/phpcms/phpcms-1.2.1pl1.tar.gz?downl oad
phpCMS phpCMS 1.2.1
-
phpCMS phpcms-1.2.1pl1.tar.gz
http://prdownloads.sourceforge.net/phpcms/phpcms-1.2.1pl1.tar.gz?downl oad
References
PHPCMS Cross-Site Scripting Vulnerability
References:
References:
- phpCMS Changelog for 1.2.1pl1 (phpCMS)
- phpCMS Homepage (phpCMS)
- phpCMS <= 1.2.1 Xss Vulnerability, Information disclosure (Cyrille Barthelemy
)