PHPFreeNews Footer.php ScriptVersion Variable XSS

2005-07-29T07:58:16
ID OSVDB:18451
Type osvdb
Reporter rgod(retrogod@aliceposta.it)
Modified 2005-07-29T07:58:16

Description

Vulnerability Description

PHPFreeNews contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'ScriptVersion' variable upon submission to the Footer.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Solution Description

Upgrade to version 1.40 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

PHPFreeNews contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'ScriptVersion' variable upon submission to the Footer.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Manual Testing Notes

http://[target]/[path]/inc/Footer.php?ScriptVersion=<script>alert(document.cookie)</script>

References:

Vendor URL: http://www.phpfreenews.co.uk/ Vendor Specific Solution URL: http://www.phpfreenews.co.uk/News/SinglePosting.php?ArticleID=22 Security Tracker: 1014601 Secunia Advisory ID:16312 Related OSVDB ID: 18453 Related OSVDB ID: 18455 Related OSVDB ID: 18452 Related OSVDB ID: 18454 Related OSVDB ID: 18456 Related OSVDB ID: 18457 Other Advisory URL: http://rgod.altervista.org/phpfreenews.html