Lucene search
+L

antMan < 0.9.1a - Authentication Bypass

🗓️ 02 Mar 2018 00:00:00Reported by Joshua BowserType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 29 Views

antMan authentication bypass <= 0.9.0

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
antMan 0.9.0c - Authentication Bypass Vulnerability
7 Mar 201800:00
zdt
cnvd
CNVD
Antsle antman authentication bypass vulnerability
7 Mar 201800:00
cnvd
cve
CVE
CVE-2018-7739
6 Mar 201822:00
cve
cvelist
Cvelist
CVE-2018-7739
6 Mar 201822:00
cvelist
exploitdb
Exploit DB
antMan 0.9.0c - Authentication Bypass
7 Mar 201800:00
exploitdb
euvd
EUVD
EUVD-2018-19454
7 Oct 202500:30
euvd
nvd
NVD
CVE-2018-7739
7 Mar 201802:29
nvd
osv
OSV
CVE-2018-7739
7 Mar 201802:29
osv
packetstorm
Packet Storm
antMan 0.9.0c Authentication Bypass
7 Mar 201800:00
packetstorm
prion
Prion
Input validation
7 Mar 201802:29
prion
Rows per page
# Exploit Title: antMan <= 0.9.0c Authentication Bypass
# Date: 02-27-2018
# Software Link: https://www.antsle.com
# Version: <= 0.9.0c
# Tested on: 0.9.0c
# Exploit Author: Joshua Bowser
# Contact: [email protected]
# Website: http://www.codecatoctin.com
# Category: web apps

1. Description

antMan versions <= 0.9.c contain a critical authentication defect, allowing an unauthenticated attacker to obtain root permissions within the antMan web management console.

http://blog.codecatoctin.com/2018/02/antman-authentication-bypass.html


2. Proof of Concept

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), we can force the authentication script to produce return values not anticipated by the developer.

To exploit these defects, use a web proxy to intercept the login attempt and modify the POST parameters as follows:

#-------------------------
POST /login HTTP/1.1
Host: 10.1.1.7:3000
[snip]

username= > &password=%0a
#-------------------------

You will now be successfully authenticated to antMan as the administrative root user.


3. Solution:

Update to version 0.9.1a

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

09 Mar 2018 00:00Current
8.4High risk
Vulners AI Score8.4
CVSS 27.5
CVSS 39.8
EPSS0.53872
29