Lucene search
K

Guestbook PHP Cross Site Scripting

🗓️ 27 Apr 2010 00:00:00Reported by Valentin HoebelType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 34 Views

Guestbook PHP XSS Vulnerability in G5 Scripts 1.2.8 fails to sanitize user input, leading to code execution and admin features manipulation

Code
`# Exploit Title: Guestbook PHP XSS Vulnerability  
# Date: 24.04.2010  
# Author: Valentin  
# Category: webapps/0day  
# Version: 1.2.8  
# Tested on:   
# CVE :   
# Code :   
  
  
[:::::::::::::::::::::::::::::::::::::: 0x1 ::::::::::::::::::::::::::::::::::::::]  
>> General Information   
Advisory/Exploit Title = Guestbook PHP XSS Vulnerability  
Author = Valentin Hoebel  
Contact = [email protected]  
  
  
[:::::::::::::::::::::::::::::::::::::: 0x2 ::::::::::::::::::::::::::::::::::::::]  
>> Product information  
Name = Guestbook PHP  
Vendor = G5 Scripts  
Vendor Website = http://www.g5-scripts.de  
Affected Version(s) = 1.2.8  
  
  
[:::::::::::::::::::::::::::::::::::::: 0x3 ::::::::::::::::::::::::::::::::::::::]  
>> #1 Vulnerability  
Type = XSS  
Affected Input Boxes = "Name", "Vorname", "Land", "Message"  
  
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.  
  
  
[:::::::::::::::::::::::::::::::::::::: 0x4 ::::::::::::::::::::::::::::::::::::::]  
>> Additional Information  
Advisory/Exploit Published = 24.04.2010  
  
  
[:::::::::::::::::::::::::::::::::::::: 0x5 ::::::::::::::::::::::::::::::::::::::]  
>> Misc  
Greetz && Thanks = inj3ct0r team, Exploit DB, hack0wn and ExpBase!  
<3 packetstormsecurity.org!  
  
  
[:::::::::::::::::::::::::::::::::::::: EOF ::::::::::::::::::::::::::::::::::::::]  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

27 Apr 2010 00:00Current
0.1Low risk
Vulners AI Score0.1
34