Exploit database

Vulnerability

CVE-2016-2056

Vulnerability details

Score
8.8
Severity
high

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

xymond in Xymon 4.1.x, 4.2.x, and 4.3.x before 4.3.25 allow remote authenticated users to execute arbitrary commands via shell metacharacters in the adduser_name argument in (1) web/useradm.c or (2) web/chpasswd.c.

CVE Program

Exploit source choices

2 sources
Xymon useradm Command Execution
MSF-unix--webapp--xymon_useradm_cmd_execMetasploitBSD,Linux,Solaris,Unix / remote

This module exploits a command injection vulnerability in Xymon versions before 4.3.25 which allows authenticated users to execute arbitrary operating system commands as the web server user. When adding a new user to the system via the web interface with `useradm.sh`, the user's username and password are passed to `htpasswd` in a call to `system()` without validation. This module has been tested successfully on Xymon version 4.3.10 on Debian 6.

2016-02-14xymon_useradm_cmd_exec.rb