phpLDAPadmin Cross-Site Scripting and Script Insertion
Secunia Advisory: SA19747
Release Date: 2006-04-21
Last Update: 2006-04-26
Popularity: 6,266 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

Today
New advisories: 9
New vulnerabilities: 12
Updated advisories: 16

Moderately // 259 views
rPath update for libtiff
Highly // 254 views
Gentoo update for realplayer
Less // 253 views
Gentoo update for mysql
Moderately // 249 views
Gentoo update for dnsmasq
Highly // 259 views
Gentoo update for yelp

4th Sep, 2008
New advisories: 19
New vulnerabilities: 41
Updated advisories: 35


Solutions | More...  


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. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 109 views
2. HP OpenView Select Identity Connectors Information Disclosure // 71 views
3. Drupal Content Construction Kit Script Insertion Vulnerabilities // 69 views
4. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 62 views
5. Gentoo update for yelp // 49 views
6. rPath update for libtiff // 48 views
7. CS-Cart "cs_cookies" SQL Injection Vulnerability // 48 views
8. Gentoo update for dnsmasq // 47 views
9. Gentoo update for mysql // 47 views
10. Cisco Secure ACS EAP Packet Denial of Service // 46 views