CVE-2019-25574
Received Received - Intake
Path Traversal in Green CMS 2.x Allows Arbitrary File Access

Publication date: 2026-03-21

Last updated on: 2026-03-24

Assigner: VulnCheck

Description
Green CMS 2.x contains a path traversal vulnerability that allows authenticated attackers to download arbitrary files and directories by injecting directory traversal sequences. Attackers can manipulate the theme_name parameter in the themeexporthandle action or supply base64-encoded file paths to the downfile action to retrieve sensitive files outside intended directories.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-21
Last Modified
2026-03-24
Generated
2026-05-07
AI Q&A
2026-03-21
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
njtech greencms From 2.1.0612 (inc) to 2.3.0603 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2019-25574 is a path traversal vulnerability in Green CMS version 2.x that allows authenticated attackers to download arbitrary files and directories from the server.

Attackers exploit this flaw by manipulating the theme_name parameter in the themeexporthandle action or by supplying base64-encoded file paths to the downfile action. This manipulation bypasses input validation and enables access to sensitive files outside the intended directories.

The vulnerability arises due to improper limitation of pathname to a restricted directory (CWE-22), allowing unauthorized file access.


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized disclosure of sensitive files and directories on the server hosting Green CMS.

  • Attackers can download critical system or application files, potentially exposing configuration files, source code, or other sensitive data.
  • Such unauthorized file access can compromise the confidentiality of the system and may aid further attacks.
  • Because the vulnerability requires authentication but has low attack complexity and no user interaction, it poses a significant risk to users with valid credentials.

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 suspicious HTTP GET requests that exploit the path traversal in Green CMS 2.x. Specifically, look for requests targeting the following endpoints with manipulated parameters:'}, {'type': 'list_item', 'content': 'Requests to /index.php with parameters m=admin, c=custom, a=themeexporthandle and a theme_name parameter containing directory traversal sequences such as ../../../'}, {'type': 'list_item', 'content': 'Requests to /index.php with parameters m=admin, c=media, a=downfile and an id parameter containing base64-encoded file paths'}, {'type': 'paragraph', 'content': 'Example commands to detect such attempts using command-line tools like curl or grep on web server logs include:'}, {'type': 'list_item', 'content': "grep -E 'themeexporthandle.*theme_name=.*\\.\\.\\/' /var/log/apache2/access.log"}, {'type': 'list_item', 'content': "grep -E 'downfile.*id=[A-Za-z0-9+/=]+' /var/log/apache2/access.log"}, {'type': 'list_item', 'content': "curl -i 'http://yourserver/index.php?m=admin&c=custom&a=themeexporthandle&theme_name=../../../etc/passwd' to test if the server responds with file content"}, {'type': 'list_item', 'content': "curl -i 'http://yourserver/index.php?m=admin&c=media&a=downfile&id=aW5kZXgucGhw' (where id is base64 for index.php) to check if arbitrary files can be downloaded"}] [1, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include:

  • Restrict access to the affected endpoints (/index.php with actions themeexporthandle and downfile) to trusted and authenticated users only.
  • Implement strict input validation and sanitization on the theme_name and id parameters to prevent directory traversal sequences and unauthorized base64-decoded file paths.
  • Apply the latest patches or updates provided by Green CMS that address this vulnerability.
  • Monitor server logs for suspicious requests exploiting this vulnerability and block offending IP addresses if necessary.
  • If possible, disable or restrict the functionality related to themeexporthandle and downfile actions until a secure fix is applied.

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