vendor:
antMan
by:
Joshua Bowser
7.5
CVSS
HIGH
Authentication Bypass
287
CWE
Product Name: antMan
Affected Version From: <= 0.9.0c
Affected Version To: <= 0.9.0c
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: 0.9.0c
2018
antMan <= 0.9.0c Authentication Bypass
antMan versions <= 0.9.c contain a critical authentication defect, allowing an unauthenticated attacker to obtain root permissions within the antMan web management console. The antMan authentication implementation obtains user-supplied username and password parameters from a POST request issued to /login. Next, antMan utilizes Java’s ProcessBuilder class to invoke, as root, a bash script called antsle-auth. This script contains two critical defects that allow an attacker to bypass the authentication checks. By changing the username to > and the password to a url-encoded linefeed (%0a), an attacker can force the authentication script to produce return values not anticipated by the developer.
Mitigation:
Update to version 0.9.1a or later.