Lucene search
K

CJWSoft ASPGuest Guestbook SQL Injection

🗓️ 24 Feb 2012 00:00:00Reported by demonalexType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

CJWSoft ASPGuest GuestBook 'edit.asp' SQL Injection Vulnerability - Medium Impac

Code
`Title: CJWSoft ASPGuest GuestBook 'edit.asp' - SQL Injection Vulnerability  
  
Product : CJWSoft ASPGuest GuestBook  
  
Version : Free Version  
  
Vendor: http://www.cjwsoft.com/aspguest/default.asp  
  
Class: Input Validation Error   
  
CVE:  
  
Remote: Yes   
  
Local: No   
  
Published: 2012-02-24  
  
Updated:   
  
Impact : Medium (CVSSv2 Base : 7.5, AV:N/AC:L/Au:N/C:P/I:P/A:P)  
  
Bug Description :  
Page 'edit.asp' of CJWSoft ASPGuest GuestBook(Free Version) is vulnerable with Security Access Control Bypass and SQL Injection Vulnerability.  
  
POC:  
#-------------------------------------------------------------  
1) Security Access Control Bypass  
Page 'edit.asp' is a page for editing message as administrator privilege, but it can be viewed without authentication by everyone.  
  
2) SQL Injection  
http://victim/guestbook/admin/edit.asp?ID=8 and 1=1  
http://victim/guestbook/admin/edit.asp?ID=8 and 1=2  
etc...  
#-------------------------------------------------------------  
  
Advice:  
1) Add 'Session()' for authentication into 'edit.asp'.  
2) Use 'cint()' for converting type of ID into 'edit.asp'.  
  
Credits : This vulnerability was discovered by [email protected]  
mail: [email protected] / [email protected]  
Pentester/Researcher  
Dark2S Security Team/PolyU.HK  
`

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