Secunia Logo  
 
phpLDAPadmin Cross-Site Scripting and Script Insertion
Secunia Advisory: SA19747
Release Date: 2006-04-21
Last Update: 2006-04-26
Popularity: 6,673 views

Critical:
Less critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Unpatched

Software:phpLDAPadmin 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2016


Description:
r0t has reported some vulnerabilities in phpLDAPadmin, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct cross-site scripting attacks.

1) Some input isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Examples:
http://[host]/compare_form.php?server_id=0&dn=[code]
http://[host]/copy_form.php?server_id=0&dn=[code]
http://[host]/rename_form.php?server_id=0&dn=[code]
http://[host]/template_engine.php?server_id=0&dn=[code]
http://[host]/delete_form.php?server_id=0&dn=[code]
http://[host]//search.php?server_id=0&search=true&filter=objectClass%3D%2A&base_dn=cn%3Dtoto%2Cdc%3D
example%2Cdc%3Dcom&form=advanced&scope=[code]

2) Input passed to the "Container DN", "Machine Name", and "UID Number" parameters in "template_engine.php" isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious user data is viewed.

The vulnerabilities have been reported in version 0.9.8. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
r0t

Changelog:
2006-04-26: Added CVE reference.

Original Advisory:
http://pridels.blogspot.com/2006/04/phpldapadmin-multiple-vuln.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 60 views
2. Zeroboard Multiple Vulnerabilities // 46 views
3. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 27 views
4. Symantec Mail Security for SMTP Response Handling Denial of Service // 26 views
5. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 25 views
6. Red Hat update for openssl // 24 views
7. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 23 views
8. Red Hat update for xterm // 22 views
9. Red Hat update for dbus // 22 views
10. BlogHelper "common_db.inc" Information Disclosure Security Issue // 21 views