[PR #114] [MERGED] Fixed directory traversal vulnerability. #3190

Closed
opened 2026-02-26 07:38:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/114
Author: @jlesage
Created: 4/2/2019
Status: Merged
Merged: 4/2/2019
Merged by: @jc21

Base: masterHead: fix-directory-traversal-vulnerability


📝 Commits (1)

  • c6a4002 Fixed directory traversal vulnerability.

📊 Changes

1 file changed (+17 additions, -9 deletions)

View changed files

📝 src/backend/routes/main.js (+17 -9)

📄 Description

Management interface can leak local file system. For example, accessing an url like this is allowed:

http://test.com:81/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc/passwd

This PR fixes this by not allowing access to resources outside dist/.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NginxProxyManager/nginx-proxy-manager/pull/114 **Author:** [@jlesage](https://github.com/jlesage) **Created:** 4/2/2019 **Status:** ✅ Merged **Merged:** 4/2/2019 **Merged by:** [@jc21](https://github.com/jc21) **Base:** `master` ← **Head:** `fix-directory-traversal-vulnerability` --- ### 📝 Commits (1) - [`c6a4002`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/c6a400255c3594e88c939fa378cb509af03c1948) Fixed directory traversal vulnerability. ### 📊 Changes **1 file changed** (+17 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/backend/routes/main.js` (+17 -9) </details> ### 📄 Description Management interface can leak local file system. For example, accessing an url like this is allowed: http://test.com:81/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc/passwd This PR fixes this by not allowing access to resources outside `dist/`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 07:38:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#3190
No description provided.