CVE-2026-2665
Received Received - Intake
Unrestricted File Upload Vulnerability in huanzi-qch JSP Parser

Publication date: 2026-02-18

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was detected in huanzi-qch base-admin up to 57a8126bb3353a004f3c7722089e3b926ea83596. Impacted is the function Upload of the file SysFileController.java of the component JSP Parser. Performing a manipulation of the argument File results in unrestricted upload. The attack can be initiated remotely. The exploit is now public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-18
Last Modified
2026-04-29
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
huanzi-qch base-admin to 57a8126bb3353a004f3c7722089e3b926ea83596 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

[{'type': 'paragraph', 'content': 'The vulnerability in the base-admin management system is an arbitrary file upload flaw in the Upload function of the SysFileController.java component. The system does not properly validate the file extensions of uploaded files, allowing attackers to upload files of any type, including malicious HTML files.'}, {'type': 'paragraph', 'content': 'This happens because the system concatenates the filename and file extension without proper checks before saving the file. An attacker can exploit this by sending a specially crafted multipart/form-data POST request to the upload endpoint, uploading files such as "123.jsp" containing malicious JavaScript code.'}, {'type': 'paragraph', 'content': 'When the uploaded file is accessed, it can trigger a stored Cross-Site Scripting (XSS) attack, demonstrating the impact of the vulnerability.'}] [2]


How can this vulnerability impact me? :

This vulnerability allows an attacker to upload arbitrary files, including malicious HTML or script files, to the server.

By exploiting this flaw, attackers can execute stored Cross-Site Scripting (XSS) attacks, which can lead to the execution of malicious scripts in the context of users accessing the uploaded files.

Such attacks can compromise user data, hijack user sessions, deface websites, or perform other malicious actions, potentially damaging the integrity and security of the affected system.


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 for attempts to upload files to the endpoint `/baseadmin/sys/sysFile/upload` using crafted multipart/form-data POST requests containing suspicious file types such as .jsp or .html files.'}, {'type': 'paragraph', 'content': 'One way to detect exploitation attempts is to check web server logs or application logs for POST requests to the upload endpoint with unusual or disallowed file extensions.'}, {'type': 'paragraph', 'content': 'Example commands to detect such attempts might include:'}, {'type': 'list_item', 'content': "Using grep on web server logs to find suspicious uploads: `grep '/baseadmin/sys/sysFile/upload' /var/log/nginx/access.log | grep -E '\\.jsp|\\.html'`"}, {'type': 'list_item', 'content': 'Using network monitoring tools like tcpdump or Wireshark to filter HTTP POST requests to the upload endpoint.'}, {'type': 'list_item', 'content': 'Checking the file storage directories for unexpected files with extensions like .jsp or .html that should not be present.'}] [2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include restricting or disabling the file upload functionality in the affected base-admin system until a patch or fix is available.

Implement strict validation on the server side to allow only safe file types and reject any files with dangerous extensions such as .jsp or .html.

Monitor and remove any suspicious uploaded files that could be used to execute stored XSS or other attacks.

Consider replacing the affected component with an alternative product or applying custom patches to fix the file extension validation and file saving logic.

Since no official patch or response from the project maintainers is available, applying network-level protections such as web application firewalls (WAF) to block malicious upload attempts is recommended.


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