Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 464 Bytes

vulnerable-code-13.md

File metadata and controls

13 lines (7 loc) · 464 Bytes

SecurityExplained S-25: Vulnerable Code Snippet - 13

Vulnerable Code:

Vulnerable Code

Solution:

The code is vulnerable remote code execution vulnerability via Path Traversal. Payload like this works: ?dir=

.

.

/

.

.

/

.

./user/profile.png

Code Credits: Octagon Networks

Follow Twitter Thread