Vulnerability Description:
Improper Limitation of a Pathname to a Restricted Directory ('Full Path Traversal') - CWE-22
Software Version: FlexNet Publisher 11.12.1
NIST: https://nvd.nist.gov/vuln/detail/CVE-2020-12081
CVSv3: 7.5
Severity: High
Credits: Alessandro Bosco, Luca Di Giuseppe, Alessandro Sabetta, Massimiliano Brolli
Step-by-step instructions and PoC
A remote user, authenticated to FlexNet Publisher License Administrator, is able to define an arbitrary full path name where to save the application logs. By using the functionality of "view logs" the attacker can access the content of the previous specified file.
Affected Endpoints:
Below are the evidences with the vulnerability details and the payloads used.
The HTTP request used by the attacker to change the full path name of the logs to win.ini (click here to enlarge the image)
Using the function of "view logs" the malicious user can access to the previously specified file (click here to enlarge the image)
Security Impact
By exploiting this issue an attacker is able to read arbitrary file from file system of the target server.