[+] Credits: John Page aka hyp3rlinx
[+] Website: hyp3rlinx.altervista.org
[+] Source: http://hyp3rlinx.altervista.org/advisories/AS-PHPIPAM0812.txt
Vendor:
================================
phpipam.net
Product:
======================================
phpipam-1.1.010
Vulnerability Type:
==========================
Cross Site Scripting - XSS
CVE Reference:
==============
N/A
Vulnerability Details:
=====================
There is an XSS entry point in 'error.php' file under site directory,
on line 66 of error.php we find the vulnerable server code.
: :
PHP print function is called on $_REQUEST['section'] variable without
checking or escaping the response output to victims web browser.
Exploit code(s):
===============
1- GET method XSS:
------------------
http://localhost/phpipam/site/error.php?section=
vulnerable parameter "section"
2- POST method XSS:
-------------------
http://localhost/phpipam/site/tools/searchResults.php
vulnerable parameter "ip"
Inject payload into search field.
"
Disclosure Timeline:
=========================================================
Vendor Notification: August 10, 2015
July 12, 2015 : Public Disclosure
Exploitation Technique:
=======================
Remote & Local
Authentication required:
========================
No
Severity Level:
=========================================================
Medium
Description:
==========================================================
Request Method(s): [+] GET / POST
Vulnerable Product: [+] phpipam-1.1.010
Vulnerable Parameter(s): [+] section
Affected Area(s): [+] site, ip
===========================================================
[+] Disclaimer
Permission is hereby granted for the redistribution of this advisory,
provided that it is not altered except by reformatting it, and that due
credit is given. Permission is explicitly given for insertion in
vulnerability databases and similar, provided that due credit is given to
the author.
The author is not responsible for any misuse of the information contained
herein and prohibits any malicious use of all security related information
or exploits by the author or elsewhere.
by hyp3rlinx