RiteCMS
CVE-2025-67172
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated admin access
-
DeliverySubmit crafted special-tag content
-
ExploitInjection reaches parse_special_tags()
-
ExecutionOS command executes on server
-
ImpactFull host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session with administrative/high privileges in RiteCMS v3.1.0 (CVSS PR:H), from which the attacker supplies crafted input that reaches the parse_special_tags() function in cms/includes/functions.inc.php, where it is passed into an OS command (CWE-78). Limiting factors: the PR:H prerequisite means an unprivileged or unauthenticated outsider cannot exploit this directly - valid admin access must first be obtained; no user interaction is needed once that access exists (UI:N). The practical attack surface is further constrained by the product's rarity, as only installations of RiteCMS 3.1.0 are affected. |
| Impact | This is a genuine but bounded risk. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N, C:H/I:H/A:H) scores 7.2 (High) and describes network-reachable, low-complexity exploitation that nonetheless requires high privileges (PR:H) - meaning the attacker must already hold an authenticated administrative session in RiteCMS before invoking the vulnerable parse_special_tags() OS command injection (CWE-78). A public proof-of-concept exists (mbiesiad vulnerability-research repo), which lowers the skill barrier, but there is NO CISA KEV listing and NO EPSS score was provided, so there is no evidence of active or widespread exploitation. The signals are therefore consistent rather than conflicting: a high technical impact gated behind an administrative-authentication prerequisite, with available-but-unweaponized exploit code. The dominant mitigating factor is prevalence - RiteCMS is an obscure, small-footprint open-source CMS, so real-world attack surface is minimal. Net: treat as a priority only for the specific populations actually running RiteCMS v3.1.0, where it should be patched promptly because an authenticated admin can escalate to full server command execution; for everyone else it is low real-world risk despite the High CVSS. Note: no EPSS value was supplied in the input, so widespread-exploitation probability could not be quantified. |
| Exploit ScenarioDerived | An attacker who has obtained or been granted RiteCMS administrator credentials (e.g., a malicious insider, a compromised admin account, or via credential reuse) logs into the backend and submits content containing crafted special tags that reach the parse_special_tags() function. Because input is passed into an OS command, the attacker injects shell commands that execute on the underlying web server with the privileges of the web process. A public proof-of-concept is available, making reliable reproduction straightforward for anyone with admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Authenticated remote code execution in RiteCMS 3.1.0 allows an attacker holding a high-privileged administrative session to inject OS commands through the parse_special_tags() function in cms/includes/functions.inc.php, resulting in full compromise of confidentiality, integrity, and availability (CVSS 7.2). The CVSS vector (AV:N/AC:L/PR:H/UI:N) confirms the flaw is remotely reachable and needs no user interaction, but it explicitly requires high privileges, meaning an outsider must first obtain valid admin credentials or hijack an admin session; publicly available exploit code exists, though there is no indication of confirmed active exploitation (no CISA KEV entry). Practical exposure is limited by the product's rarity, as only installations running version 3.1.0 are affected.
RemediationAI
No vendor-released patch was identified at time of analysis, so administrators of RiteCMS 3.1.0 cannot rely on an official fixed version and must apply compensating controls while monitoring the upstream repository at https://github.com/handylulu/RiteCMS/ for updates. The single most effective mitigation follows directly from the PR:H prerequisite: restrict and audit administrative access, since only a high-privileged authenticated session can reach parse_special_tags(). Concretely, place the CMS administrative interface behind a VPN or IP allow-list, enforce strong unique credentials with multi-factor authentication, and invalidate stale sessions so a stolen admin session cannot be leveraged; the trade-off is reduced administrative convenience for legitimate staff. If the parse_special_tags() behavior is not required, disable or remove the special-tag processing path (or patch cms/includes/functions.inc.php to replace the OS command invocation with a native PHP equivalent and strict input validation/escaping), accepting the side effect that any legitimate pages depending on special tags will render incorrectly. Until a fix exists, treat any compromise of administrative credentials as equivalent to full host compromise and monitor for unexpected child processes spawned by the web server. A public proof-of-concept is documented at https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67172, which can be used to validate mitigations in a controlled environment.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-78, improper neutralization of special elements used in an OS command, occurring in the PHP-based RiteCMS content management system. The parse_special_tags() routine in cms/includes/functions.inc.php is responsible for interpreting special markup within CMS content; the referenced code locations at line 297 and line 504 (linked from the project's GitHub repository) are where attacker-supplied input reaches an operating-system command invocation without adequate sanitization or escaping. Because the vulnerable code path is reached through the CMS's content-handling logic rather than a network-facing daemon, exploitation is gated behind an authenticated administrative session (PR:H), but once that session exists the injection is network-deliverable (AV:N) and deterministic (AC:L), yielding high impact across confidentiality, integrity, and availability. The affected package identifier is cpe:2.3:a:ritecms:ritecms:3.1.0, indicating the 3.1.0 release is the sole confirmed vulnerable version in the CPE data.
Know when Ritecms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Web-reachable (AV:N) command injection with no special conditions (AC:L) but requiring an authenticated admin (PR:H); arbitrary command execution yields full C:H/I:H/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
RiteCMS v3.1.0 was discovered to contain an authenticated remote code execution (RCE) vulnerability via the parse_special_tags() function.
Executive ViewAI
RiteCMS 3.1.0 contains a high-severity authenticated remote code execution flaw that allows an attacker with high-privileged administrative access to fully compromise affected installations, impacting confidentiality, integrity, and availability. Because a public exploit exists and no vendor patch is available, any organization running this specific version faces elevated risk, though exploitation requires prior admin credentials or session hijacking. Leadership should prioritize identifying and mitigating any exposed instances, as the product's limited footprint may reduce widespread risk but leaves affected deployments highly vulnerable.
No vendor patch; restrict RiteCMS 3.1.0 admin interface to trusted networks, enforce strong authentication and least privilege, monitor for anomalous admin activity, apply WAF virtual patching, and consider migration or decommissioning.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
An issue was discovered in RiteCMS 2.2.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, lo
Directory traversal in RiteCMS 3.1.0's /templates/ component allows unauthenticated remote attackers to read files outsi
Cross-site request forgery (CSRF) vulnerability in RiteCMS 1.0.0 allows remote attackers to hijack the authentication of
RiteCMS version 3.1.0 and below suffers from an arbitrary file deletion via path traversal vulnerability in Admin Panel.
RiteCMS version 3.1.0 and below suffers from an arbitrary file overwrite via path traversal vulnerability in Admin Panel
RiteCMS v3.0.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the component main_menu/edit_sec
Rite CMS 3.0 has Multiple Cross-Site scripting (XSS) vulnerabilities that allow attackers to execute arbitrary code via
Weak password storage in RiteCMS v3.1.0 (CWE-916) allows anyone who obtains the stored credential values to recover user
A File upload vulnerability in RiteCMS 3.0 allows a local attacker to upload a SVG file with XSS content. Rated medium s
Rite CMS 3.0 has Multiple Cross-Site scripting (XSS) vulnerabilities that allow attackers to execute arbitrary code via
Rite CMS 3.0 has a Cross-Site scripting (XSS) vulnerability that allows attackers to execute arbitrary code via a crafte
Cross-site scripting (XSS) vulnerability in RiteCMS 1.0.0 allows remote authenticated users to inject arbitrary web scri
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB