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: | Re: [SECURITYREASON.COM] phpMyAdmin 2.6.1 Remote file inclusion |
|---|---|
| Date: | Sat, 26 Feb 2005 11:37:14 +1100 (EST) |
This bug exist in css/phpmyadmin.css.php. You can
include files. Error exist in
Code:
- ------
$tmp_file = $GLOBALS['cfg']['ThemePath'] . '/' .
$theme . '/css/theme_right.css.php';
if (@file_exists($tmp_file)) {
include($tmp_file);
} // end of include theme_right.css.php
- ------
And now you can get files.
Incorrect. This is NOT a 'remote' file inclusion(due to the file_exists call), unless of course the affected user is running >= PHP5.0. It is usually good practice to state this in an advisory. Please see Appendix L at http://www.php.net/manual/en/wrappers.php
1.1
Or next include is in libraries/database_interface.lib.php
Code:
- ---
18# require_once('./libraries/dbi/' . $cfg['Server']['extension'] .
'.dbi.lib.php');
- ---
Also incorrect. The call to require_once passes the absolute path './libraries/dbi/' before the variable is involved. This is a LOCAL file inclusion vulnerability.
- --- 5.Contact --- Author: Maksymilian Arciemowicz Location: Poland(Jelenia Gora), Luxembourg(Bereldange) Email: max [at] jestsuper [dot] pl GPG-KEY: http://security.jestsuper.pl http://securityreason.com/ Team -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCHR89znmvyJCR4zQRAtj3AJ4wxM3WEn56GNohsG3f4U8Ku+/I8wCeMWQr YklTAm82iDqNu3so1uYsmEk= =ko9x -----END PGP SIGNATURE-----
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nullum magnum ingenium sine mixtura dementiae fuit [There is no great genius without some touch of madness] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Calum Power - Cultural Jammer - Security Enthusiast - Hopeless Cynic enune@fribble.net http://www.fribble.net
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | -==phpBB 2.0.12 Full path disclosure==-, HaCkZaTaN |
|---|---|
| Next by Date: | Knet <= 1.04c Buffer Overflow Bug, CorryL |
| Previous by Thread: | [SECURITYREASON.COM] phpMyAdmin 2.6.1 Remote file inclusion and XSS cXIb8O3.4, Maksymilian Arciemowicz |
| Next by Thread: | [Full-Disclosure] [FLSA-2005:2336] Updated kernel packages fix security issues, Marc Deslauriers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |