cbcvebase.
CVE-2023-39796
published 2023-11-10

CVE-2023-39796: SQL injection vulnerability in the miniform module in WBCE CMS v.1.6.0 allows remote unauthenticated attacker to execute arbitrary code via the DB_RECORD_TABLE…

PriorityP180critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
6.10%
92.5th percentile
SQL injection vulnerability in the miniform module in WBCE CMS v.1.6.0 allows remote unauthenticated attacker to execute arbitrary code via the DB_RECORD_TABLE parameter.

Affected

1 ranges
VendorProductVersion rangeFixed in
wbcewbce_cms

Detection & IOCsextracted from sources · hover to see the quote

path/modules/miniform/ajax_delete_message.php
commandaction=delete&DB_RECORD_TABLE=miniform_data`+WHERE+1%3d1+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))a)--+&iRecordID=1&DB_COLUMN=message_id&MODULE=&purpose=delete_record
urlPOST /modules/miniform/ajax_delete_message.php
  • Detect unauthenticated POST requests to /modules/miniform/ajax_delete_message.php containing a backtick (`) in the DB_RECORD_TABLE parameter, indicative of SQL injection escape attempt.
  • Time-based blind SQLi detection: if the server response to the crafted POST request is delayed by 6–7 seconds or more, the injection is successful.
  • Match HTTP 200 response containing the string 'Record deleted successfully!' combined with a response duration >= 7 seconds to confirm exploitation.
  • Flag POST requests to ajax_delete_message.php that include SLEEP() SQL function calls within the DB_RECORD_TABLE parameter body.
  • No authentication check exists on ajax_delete_message.php — any unauthenticated POST to this endpoint should be treated as suspicious and alerted on.
  • ·The vulnerability exists in the DELETE query at line 40 of ajax_delete_message.php; the DB_RECORD_TABLE parameter is directly interpolated into the query without proper parameterization.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.