Cobbler xmlrpc API power_system Method Remote Shell Command Execution

high Nessus Plugin ID 59402

Synopsis

The remote service is affected by a command injection vulnerability.

Description

According to its self-reported version, the Cobbler install on the remote host is affected by a command injection vulnerability that can be exploited by sending a specially crafted username or password argument to the 'power_system' method.

Successful exploitation requires an authenticated user and xmlrpc API access.

Solution

Upgrade to the latest developmental version of Cobbler or apply the fixes manually.

See Also

http://www.nessus.org/u?0c3391f4

https://github.com/cobbler/cobbler/issues/141

https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/978999

Plugin Details

Severity: High

ID: 59402

File Name: cobbler_power_command_injection.nasl

Version: 1.8

Type: remote

Family: CGI abuses

Published: 6/7/2012

Updated: 6/5/2024

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2012-2395

Vulnerability Information

CPE: cpe:/a:michael_dehaan:cobbler

Required KB Items: www/cobbler/xmlrpc, Settings/ParanoidReport, www/cobbler_web_admin

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No known exploits are available

Patch Publication Date: 5/29/2012

Vulnerability Publication Date: 4/11/2012

Reference Information

CVE: CVE-2012-2395

BID: 53666