vendor:
chCounter
by:
Valentin Hoebel
6,5
CVSS
MEDIUM
SQL Injection
89
CWE
Product Name: chCounter
Affected Version From: 3.1.1
Affected Version To: 3.1.1
Patch Exists: YES
Related CWE: N/A
CPE: chcounter
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Debian, Apache2, PHP5, MySQL5
2010
chCounter indirect SQL Injection and XSS Vulnerabilities
This is a very untypical SQL injection vulnerability. While viewing the details of a website in the chCounter backend, some data gets selected out of the database. The script thrusts the common visitor. When you view a website which uses chCounter, the title of the current page and other information gets directly written into the table chc_pages, column 'wert'. When the admin views the visitor's details (which contain the title of the visited pages) in the backend, the information is selected directly, no filter is used. The attacker can then inject SQL code into the query.
Mitigation:
Ensure that user input is properly sanitized and filtered before being used in a query.