CVE-2025-70141
Awaiting Analysis Awaiting Analysis - Queue
Improper Access Control in SourceCodester Customer Support System Allows Unauthorized Data Modification

Publication date: 2026-02-18

Last updated on: 2026-02-23

Assigner: MITRE

Description
SourceCodester Customer Support System 1.0 contains an incorrect access control vulnerability in ajax.php. The AJAX dispatcher does not enforce authentication or authorization before invoking administrative methods in admin_class.php based on the action parameter. An unauthenticated remote attacker can perform sensitive operations such as creating customers and deleting users (including the admin account), as well as modifying or deleting other application records (tickets, departments, comments), resulting in unauthorized data modification.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-18
Last Modified
2026-02-23
Generated
2026-05-27
AI Q&A
2026-02-18
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
oretnom23 customer_support_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

[{'type': 'paragraph', 'content': 'CVE-2025-70141 is an incorrect access control vulnerability in the Customer Support System 1.0, specifically in the ajax.php dispatcher.'}, {'type': 'paragraph', 'content': 'The vulnerability occurs because ajax.php routes requests based solely on the "action" parameter and calls privileged administrative methods in admin_class.php without enforcing any authentication or authorization.'}, {'type': 'paragraph', 'content': 'This means an unauthenticated remote attacker can invoke sensitive administrative functions such as creating customers, deleting users (including admin accounts), and modifying or deleting tickets, departments, and comments.'}, {'type': 'paragraph', 'content': 'The root cause is missing authentication and authorization checks before executing critical functions, making it a classic case of CWE-306 (Missing Authentication for Critical Function) and CWE-862 (Missing Authorization).'}] [1]


How can this vulnerability impact me? :

This vulnerability allows an unauthenticated attacker to perform critical state-changing operations remotely.

  • Create arbitrary customer and staff accounts.
  • Delete users, including administrative accounts, potentially locking out legitimate administrators.
  • Modify or delete tickets, departments, comments, and other application records.

The impact includes unauthorized data modification, loss of data integrity, and potential denial of service by removing critical user accounts or data.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'This vulnerability can be detected by monitoring HTTP POST requests to the vulnerable endpoint customer_support/ajax.php that include specific action parameters without authentication.'}, {'type': 'list_item', 'content': 'Look for unauthenticated POST requests with parameters such as action=save_customer, action=delete_user, action=delete_ticket, etc.'}, {'type': 'list_item', 'content': 'Use network traffic inspection tools (e.g., tcpdump, Wireshark) to capture and analyze HTTP requests targeting ajax.php.'}, {'type': 'list_item', 'content': "Example command to capture HTTP POST requests to ajax.php using tcpdump: tcpdump -A -s 0 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep 'POST /customer_support/ajax.php?action='"}, {'type': 'list_item', 'content': 'Check web server logs for unauthenticated access attempts to ajax.php with suspicious action parameters.'}] [1]


What immediate steps should I take to mitigate this vulnerability?

[{'type': 'paragraph', 'content': 'Immediate mitigation steps include enforcing authentication and authorization checks in ajax.php to prevent unauthenticated access to administrative functions.'}, {'type': 'list_item', 'content': "Modify ajax.php to verify session login status (e.g., check $_SESSION['login_id']) at the start and return HTTP 403 if the user is not authenticated."}, {'type': 'list_item', 'content': 'Implement per-action authorization checks to restrict sensitive actions such as deleting users or departments to only authorized admin users.'}, {'type': 'list_item', 'content': 'Add ownership checks to ensure users can only modify their own tickets and comments.'}, {'type': 'list_item', 'content': 'Once authentication is enforced, introduce CSRF protections to prevent cross-site request forgery on state-changing actions.'}] [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart