Exploit database

Vulnerability

CVE-2012-2982

Vulnerability details

Score
6.5
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:S/C:P/I:P/A:P

Description

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.

CVE Program

Exploit source choices

4 sources
Webmin /file/show.cgi Remote Command Execution
MSF-unix--webapp--webmin_show_cgi_execMetasploitUnix / remote

This module exploits an arbitrary command execution vulnerability in Webmin 1.580. The vulnerability exists in the /file/show.cgi component and allows an authenticated user, with access to the File Manager Module, to execute arbitrary commands with root privileges. The module has been tested successfully with Webmin 1.580 over Ubuntu 10.04.

2012-09-06webmin_show_cgi_exec.rb
johnhammond/cve-2012-2982
GH-59c927220f2d02e3cd43c4c02508213aGitHubUnofficial GitHub source

A Python replicated exploit for Webmin 1.580 /file/show.cgi Remote Code Execution

2021-09-041 file · 43 stars
cd6629/cve-2012-2982-python-poc
GH-48eefa8844f73b116a8ec9fad54fdd35GitHubUnofficial GitHub source

This was converted from a metasploit module as an exercise for OSCP studying

2020-08-052 files · 5 stars