Lightweight zero-configuration SPA HTTP server. Serves SPA bundle on HTTP port so it plays well with Traefik out of the box. Compatible with Vue.js, React and Angular
MIT License
110
stars
8
forks
source link
Path Traversal Vulnerability in devforth/spa-to-http #14
I have identified a path traversal vulnerability in the devforth/spa-to-http:latest Docker container. This vulnerability allows an attacker to access sensitive files on the container system.
Steps to Reproduce:
Run the Docker container:
sudo docker run --rm -p 8888:8080 -d devforth/spa-to-http:latest
Description:
I have identified a path traversal vulnerability in the devforth/spa-to-http:latest Docker container. This vulnerability allows an attacker to access sensitive files on the container system.
Steps to Reproduce:
You will see the contents of the /etc/passwd file:
Expected Behavior:
The application should not allow access to files outside of the intended directory.
Actual Behavior:
The application allows traversal outside the intended directory, exposing sensitive files on the host system.
Environment:
Additional Context:
Please address this vulnerability to prevent unauthorized access to sensitive files.
Thank you for your attention to this matter.