Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [UNIX] phpSysInfo Path Disclosure and Cross Site Scripting |
|---|---|
| Date: | 29 Mar 2005 10:52:32 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - phpSysInfo Path Disclosure and Cross Site Scripting ------------------------------------------------------------------------ SUMMARY <http://phpsysinfo.sourceforge.net/> phpSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. " <http://phpsysinfo.sourceforge.net/> phpSysInfo is a PHP script that displays information about the host being accessed. It will displays things like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video Information." phpSysInfo has been found to contain two security vulnerabilities, a path disclosure vulnerability and a cross site scripting vulnerability. Exploiting these vulnerabilities allows a remote attacker to discover sensitive information about target system and run malicious scripts in context of Internet browser on site's visitors machines. DETAILS Vulnerable Systems: * phpSysInfo version 2.3 Full Path Disclosure: By accessing any of following URLs: http://[host]/[DIR]/includes/os/class.OpenBSD.inc.php http://[host]/[DIR]/includes/os/class.NetBSD.inc.php http://[host]/[DIR]/includes/os/class.FreeBSD.inc.php http://[host]/[DIR]/includes/os/class.Darwin.inc.php http://[host]/[DIR]/includes/os/class.BSD.inc.php http://[host]/[DIR]/includes/XPath.class.php http://[host]/[DIR]/includes/system_header.php http://[host]/[DIR]/includes/system_footer.php An error message of the sorts of will be returned: Warning: main(./includes/os/class.BSD.common.inc.php) [function.main]: failed to open stream: No such file or directory in /www/phpsysinfo-dev/includes/os/class.OpenBSD.inc.php on line 22 Fatal error: main() [function.require]: Failed opening required './includes/os/class.BSD.common.inc.php' (include_path='.:') in /www/phpsysinfo-dev/includes/os/class.OpenBSD.inc.php on line 22 Cross Site Scripting: This vulnerability requires that the variable register_globals is set to On: Any of the following URLs can be used to trigger the vulnerability: http://[host]/[DIR]/index.php?sensor_program=[XSS] http://[host]/[DIR]/includes/system_footer.php?text[language]=">[XSS] http://[host]/[DIR]/includes/system_footer.php?text[template]=">[XSS] http://[host]/[DIR]/includes/system_footer.php?hide_picklist=cXIb8O3& VERSION=<iframe src=http://example.com> Workaround: Download a patch by <mailto:max@jestsuper.pl> Maksymilian Arciemowicz from here: <http://securityreason.com/patch/phpSysInfo-2.3.patch.by.cXIb8O3.tar.gz> http://securityreason.com/patch/phpSysInfo-2.3.patch.by.cXIb8O3.tar.gz ADDITIONAL INFORMATION The information has been provided by <mailto:max@jestsuper.pl> Maksymilian Arciemowicz. The original article can be found at: <http://www.securityreason.com/adv /%5BphpSysInfo%202.3%20Multiple%20vulnerabilities%20cXIb8O3.11%5D.asc> http://www.securityreason.com/ ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [UNIX] CPG Dragonfly Multiple Cross Site Scripting, SecuriTeam |
|---|---|
| Next by Date: | [NT] FunLabs Games Multiple Vulnerabilities, SecuriTeam |
| Previous by Thread: | [UNIX] CPG Dragonfly Multiple Cross Site Scripting, SecuriTeam |
| Next by Thread: | [NT] FunLabs Games Multiple Vulnerabilities, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |