Jamie Cameron Webmin up to 1.590 file/show.cgi open privileges management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

A vulnerability, which was classified as critical, has been found in Jamie Cameron Webmin (Software Management Software). Affected by this issue is the function open of the file file/show.cgi. The manipulation with an unknown input leads to a privileges management vulnerability. Using CWE to declare the problem leads to CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. Impacted is confidentiality, integrity, and availability. CVE summarizes:

file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid character in a pathname, as demonstrated by a | (pipe) character.

The weakness was disclosed 09/06/2012 by jcameron with American Information Security Group as 1f1411fe7404ec3ac03e803cfa7e01515e71a213 as confirmed patch (GitHub). The advisory is available at github.com. The public release has been coordinated in cooperation with the vendor. This vulnerability is handled as CVE-2012-2982 since 05/30/2012. The attack may be launched remotely. A simple authentication is needed for exploitation. Technical details as well as a public exploit are known. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.

A public exploit has been developed by Metasploit and been published 2 months after the advisory. The exploit is available at exploit-db.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 73066 (Mandriva Linux Security Advisory : webmin (MDVSA-2014:062)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 120731 (Solaris Webmin Multiple Vulnerabilities).

Applying the patch 1f1411fe7404ec3ac03e803cfa7e01515e71a213 is able to eliminate this problem. The bugfix is ready for download at github.com. A possible mitigation has been published before and not just after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 26797.

The vulnerability is also documented in the databases at X-Force (78319), Tenable (73066) and Exploit-DB (21851). The entries 6118, 6119, 6121 and 62241 are pretty similar.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: Metasploit
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 73066
Nessus Name: Mandriva Linux Security Advisory : webmin (MDVSA-2014:062)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

Saint ID: exploit_info/webmin_showcgi_path_info
Saint Name: Webmin show.cgi Open Function Call Command Execution

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: webmin_show_cgi_exec.rb
MetaSploit Name: Webmin /file/show.cgi Remote Command Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Patch: 1f1411fe7404ec3ac03e803cfa7e01515e71a213
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

05/30/2012 🔍
07/10/2012 +41 days 🔍
09/06/2012 +58 days 🔍
09/06/2012 +0 days 🔍
09/06/2012 +0 days 🔍
09/07/2012 +1 days 🔍
09/07/2012 +0 days 🔍
09/08/2012 +1 days 🔍
09/10/2012 +2 days 🔍
09/11/2012 +1 days 🔍
10/10/2012 +29 days 🔍
10/10/2012 +0 days 🔍
12/23/2012 +74 days 🔍
04/12/2021 +3032 days 🔍

Sourcesinfo

Advisory: 1f1411fe7404ec3ac03e803cfa7e01515e71a213
Researcher: jcameron
Organization: American Information Security Group
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2012-2982 (🔍)
X-Force: 78319
SecurityTracker: 1027507 - Webmin Flaws Let Remote Authenticated Users Execute Arbitrary Code and View Arbitrary Files
Vulnerability Center: 37752 - Webmin <=1.590 'file/show.cgi\x27 Allows Remote Code Execution via an Invalid Character in Pathname, Medium
SecurityFocus: 55446 - Webmin Multiple Input Validation Vulnerabilities
Secunia: 50512 - Webmin Multiple Vulnerabilities, Moderately Critical
OSVDB: 85248

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 09/10/2012 17:27
Updated: 04/12/2021 08:51
Changes: 09/10/2012 17:27 (96), 04/22/2017 18:22 (11), 04/12/2021 08:51 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!