vendor:
KeepNote
by:
R-73eN
7,5
CVSS
HIGH
Path Traversal
22
CWE
Product Name: KeepNote
Affected Version From: 0.7.8
Affected Version To: 0.7.8
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Kali Linux, Windows 7
2016
KeepNote 0.7.8 Remote Command Execution
When the KeepNote imports a backup which is actuallt a tar.gz file doesn't checks for " ../ " characters which makes it possible to do a path traversal and write anywhere in the system(where the user has writing permissions). This simple POC will write to the /home/root/.bashrc the file test.txt to get command execution when the bash is run.
Mitigation:
Ensure that the application is not vulnerable to path traversal attacks by validating user input and sanitizing it.