vendor:
Guestbook PHP
by:
Valentin Hoebel
7,5
CVSS
HIGH
XSS
79
CWE
Product Name: Guestbook PHP
Affected Version From: 1.2.8
Affected Version To: 1.2.8
Patch Exists: NO
Related CWE: N/A
CPE: a:g5_scripts:guestbook_php
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2010
Guestbook PHP XSS Vulnerability
The guestbook fails to properly sanitize the user input when a new entry is added. When HTML/Java Script code is added, it gets displayed/parsed when the new entry was successfully submitted. Furthermore the code gets executed when the admin views the entries in the control panel. It is even possible to temporarily disable the admin features in the backend since the injected code gets executed before the admin buttons get displayed. When the correct code was injected, the design gets destroyed and the admin buttons disappear.
Mitigation:
Input validation and output encoding should be used to prevent XSS attacks.