{"uuid": "ae9ddf3d-2967-40e1-9c56-24b1a5c38046", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-13851", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/pandora_fms_events_exec.rb", "content": "{\"aliases\": [], \"arch\": \"x86, x64, cmd\", \"author\": [\"Fernando Catoira\", \"Julio Sanchez\", \"Erik Wynter\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits a vulnerability (CVE-2020-13851) in Pandora\\n          FMS versions 7.0 NG 742, 7.0 NG 743, and 7.0 NG 744 (and perhaps\\n          older versions) in order to execute arbitrary commands.\\n\\n          This module takes advantage of a command injection vulnerability in the\\n          `Events` feature of Pandora FMS. This flaw allows users to execute\\n          arbitrary commands via the `target` parameter in HTTP POST requests to\\n          the `Events` function. After authenticating to the target, the module\\n          attempts to exploit this flaw by issuing such an HTTP POST request,\\n          with the `target` parameter set to contain the payload. If a shell is\\n          obtained, the module will try to obtain the local MySQL database\\n          password via a simple `grep` command on the plaintext\\n          `/var/www/html/pandora_console/include/config.php` file.\\n\\n          Valid credentials for a Pandora FMS account are required. The account\\n          does not need to have admin privileges.\\n          This module has been successfully tested on Pandora 7.0 NG 744 running\\n          on CentOS 7 (the official virtual appliance ISO for this version).\", \"disclosure_date\": \"2020-06-04\", \"fullname\": \"exploit/linux/http/pandora_fms_events_exec\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"Pandora FMS Events Remote Command Execution\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"artifacts-on-disk\", \"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/pandora_fms_events_exec.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": true, \"rank\": 600, \"ref_name\": \"linux/http/pandora_fms_events_exec\", \"references\": [\"CVE-2020-13851\", \"URL-https://www.coresecurity.com/core-labs/advisories/pandora-fms-community-multiple-vulnerabilities\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Linux (x86)\", \"Linux (x64)\", \"Linux (cmd)\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:50.598071Z"}