Skip to main content

RiteCMS CVE-2025-67172

HIGH
OS Command Injection (CWE-78)
2025-12-17 cve@mitre.org
7.2
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated admin access
  2. Delivery
    Submit crafted special-tag content
  3. Exploit
    Injection reaches parse_special_tags()
  4. Execution
    OS command executes on server
  5. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.9%
Top 41% exploitable
Prevalence
Rare
obscure small open-source CMS, negligible enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.9%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:ritecms:ritecms:3.1.0:*:*:*:*:*:*:*
CVE-2020-23934 HIGH POC
8.8 Aug 18

An issue was discovered in RiteCMS 2.2.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, lo

CVE-2025-67171 HIGH POC
7.5 Dec 17

Directory traversal in RiteCMS 3.1.0's /templates/ component allows unauthenticated remote attackers to read files outsi

CVE-2013-5316 MEDIUM POC
6.8 Aug 20

Cross-site request forgery (CSRF) vulnerability in RiteCMS 1.0.0 allows remote attackers to hijack the authentication of

CVE-2022-24248 MEDIUM POC
6.5 Apr 12

RiteCMS version 3.1.0 and below suffers from an arbitrary file deletion via path traversal vulnerability in Admin Panel.

CVE-2022-24247 MEDIUM POC
6.5 Apr 12

RiteCMS version 3.1.0 and below suffers from an arbitrary file overwrite via path traversal vulnerability in Admin Panel

CVE-2024-28623 MEDIUM POC
6.1 Mar 13

RiteCMS v3.0.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the component main_menu/edit_sec

CVE-2023-43878 MEDIUM POC
5.4 Sep 28

Rite CMS 3.0 has Multiple Cross-Site scripting (XSS) vulnerabilities that allow attackers to execute arbitrary code via

CVE-2025-67168 MEDIUM POC
5.3 Dec 17

Weak password storage in RiteCMS v3.1.0 (CWE-916) allows anyone who obtains the stored credential values to recover user

CVE-2023-44767 MEDIUM POC
4.8 Oct 25

A File upload vulnerability in RiteCMS 3.0 allows a local attacker to upload a SVG file with XSS content. Rated medium s

CVE-2023-43877 MEDIUM POC
4.8 Oct 04

Rite CMS 3.0 has Multiple Cross-Site scripting (XSS) vulnerabilities that allow attackers to execute arbitrary code via

CVE-2023-43879 MEDIUM POC
4.8 Sep 28

Rite CMS 3.0 has a Cross-Site scripting (XSS) vulnerability that allows attackers to execute arbitrary code via a crafte

CVE-2013-5317 LOW POC
3.5 Aug 20

Cross-site scripting (XSS) vulnerability in RiteCMS 1.0.0 allows remote authenticated users to inject arbitrary web scri

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy