CVE-2025-69240 in Raythainfo

Summary

by MITRE • 03/16/2026

Raytha CMS allows an attacker to spoof `X-Forwarded-Host` or `Host` headers to attacker controlled domain. The attacker (who knows the victim's email address) can force the server to send an email with password reset link pointing to the domain from spoofed header. When victim clicks the link, browser sends request to the attacker’s domain with the token in the path allowing the attacker to capture the token. This allows the attacker to reset victim's password and take over the victim's account.

This issue was fixed in version 1.4.6.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 03/16/2026

CVE-2025-69240 represents a critical server-side request forgery vulnerability in Raytha CMS that enables attackers to manipulate HTTP host headers for account takeover purposes. This vulnerability stems from insufficient validation of the X-Forwarded-Host and Host headers, allowing malicious actors to inject arbitrary domain names into the application's request processing pipeline. The flaw specifically affects the password reset functionality where the application constructs email verification links using the host header value without proper sanitization or validation, creating a path for attackers to redirect users to malicious domains.

The technical implementation of this vulnerability follows a well-established pattern of header manipulation combined with session hijacking techniques. When an attacker possesses a victim's email address, they can trigger a password reset request that gets processed through the vulnerable CMS. The application generates a reset token and embeds it in a URL that reflects the attacker-controlled domain specified in the spoofed host header. This creates a man-in-the-middle scenario where legitimate users are unknowingly directed to attacker-controlled infrastructure. The vulnerability directly maps to CWE-614, which describes insecure cookies and session management issues, and aligns with ATT&CK technique T1566.001 for credential access through phishing attacks.

The operational impact of this vulnerability extends beyond simple account takeover to encompass broader security implications for the entire CMS ecosystem. Attackers can leverage this weakness to compromise multiple user accounts simultaneously, potentially gaining access to administrative privileges and sensitive data. The attack chain requires minimal technical expertise but high social engineering capability, making it particularly dangerous in environments where email addresses are publicly available or easily obtainable through reconnaissance activities. The vulnerability demonstrates a critical failure in the application's trust model, where the system assumes the integrity of HTTP headers without proper verification mechanisms.

Security mitigations for this vulnerability involve implementing robust header validation and sanitization protocols within the application's request handling pipeline. Organizations should enforce strict validation of host headers against known legitimate domains and implement proper canonical URL generation for all user-facing links. The fix introduced in version 1.4.6 likely includes header normalization, domain whitelisting mechanisms, and comprehensive input validation for all HTTP headers used in authentication flows. Additionally, organizations should implement rate limiting for password reset requests and consider multi-factor authentication to reduce the impact of successful account takeovers. The vulnerability highlights the importance of following secure coding practices as outlined in OWASP Top Ten and NIST cybersecurity guidelines for preventing header injection attacks and maintaining proper session management protocols.

Responsible

CERT-PL

Reservation

12/30/2025

Disclosure

03/16/2026

Moderation

accepted

CPE

ready

EPSS

0.00024

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!