[featurebook] Specification Server Directory Traversal via Crafted Browser Request
The featurebook server package allows directory traversal via a crafted URL, enabling an attacker to request arbitrary files outside the web root. This could expose sensitive files such as application source code or system configuration data.
- Triaged in 24 hours
- Fixed in 32 days
- Disclosed after 33 days
Summary by the researcher
A crafted request can be used to traverse the directory structure of a host using the featurebook package, and request arbitrary files outside of the specified web root. Thanks @vdeturckheim and @danielpacak for your investigation of this issue.
The report
Hi,
A crafted request can be leveraged to traverse the directory structure of a host using the featurebook server package, and request arbitrary files outside of the specified web root.
Module specification
- Name: featurebook
- Version: 0.0.32 (latest release build)
Verified conditions
- Test server: Ubuntu 16.04 LTS
Proof of concept
Please globally install the featurebook package and cd to a chosen directory (in this case, /root) on your test server. Run featurebook serve --port 8081 to start serving from this location.
Substituting the <server-IP> value as appropriate, please browse to the following URL in Chrome. This will request the target /etc/passwd file and echo it line-by-line into an error message:
http://<server-IP>:8081/#/viewer/..%2f..%2fetc/passwd

Thanks,
Yasin
Impact
An adversary can leverage this vulnerability to request arbitrary files from the target host, which may include application source code or system configuration data.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An adversary can leverage this vulnerability to request arbitrary files from the target host, which may include application source code or system configuration data.
What the attacker needed
Featurebook server running; network access to the server
How it was found
- Install the featurebook package globally and change to a chosen directory (e.g., /root).
- Start the server with 'featurebook serve --port 8081'.
- In a browser, navigate to a URL containing encoded directory traversal sequences to request a file outside the web root, such as /etc/passwd.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The featurebook tool runs a small web server to show documentation. Because it did not properly check requested file paths, someone could use a special URL to read files from anywhere on the computer, not just the intended folder. This means private files like source code or system settings could be exposed.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.