Secunia Security Advisory - Jesper Jurcenoks has discovered some vulnerabilities in Advanced Guestbook, which can be exploited by malicious people to disclose sensitive information or to conduct cross-site scripting attacks.
cb343bb2fb27aba53ba94e4ecec92e603fa44e6700676d5c091a391d68a106bb
----------------------------------------------------------------------
Try a new way to discover vulnerabilities that ALREADY EXIST in your
IT infrastructure.
Join the FREE BETA test of the Network Software Inspector (NSI)!
http://secunia.com/network_software_inspector/
The NSI enables you to INSPECT, DISCOVER, and DOCUMENT
vulnerabilities in more than 4,000 different Windows applications.
----------------------------------------------------------------------
TITLE:
Advanced Guestbook Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA25153
VERIFY ADVISORY:
http://secunia.com/advisories/25153/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting, Exposure of system information, Exposure of
sensitive information
WHERE:
>From remote
SOFTWARE:
Advanced Guestbook 2.x
http://secunia.com/product/4356/
DESCRIPTION:
Jesper Jurcenoks has discovered some vulnerabilities in Advanced
Guestbook, which can be exploited by malicious people to disclose
sensitive information or to conduct cross-site scripting attacks.
1) Input passed in the "lang" cookie to index.php is not properly
verified before being used to include files. This can be exploited to
include arbitrary files from local resources.
Successful exploitation of this vulnerability with arbitrary file
extensions requires that "magic_quotes_gpc" is disabled.
2) This vulnerability is caused due to lang/codes-english.php and
images.php revealing the name of the database the program uses in
error messages.
3) Input passed to the "picture" parameter in picture.php is not
properly sanitised before it is returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.
Successful exploitation of vulnerability #2 and #3 requires that
"register_globals" is enabled.
The vulnerabilities are confirmed in version 2.4.2. Other versions
may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly verified and
sanitised.
Set "register_globals" in php.ini to Off.
PROVIDED AND/OR DISCOVERED BY:
Jesper Jurcenoks
ORIGINAL ADVISORY:
1) http://www.netvigilance.com/advisory0013
2) http://www.netvigilance.com/advisory0011
3) http://www.netvigilance.com/advisory0012
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------