CVE-2023-28335
PHP vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2023-28335) was identified in Moodle, affecting versions 4.1 to 4.1.1. The issue involves a Cross-Site Request Forgery (CSRF) risk in the database activity template reset functionality, where the reset link did not include the necessary security token. The vulnerability was discovered by DegrangeM and was fixed in Moodle version 4.1.2 (Moodle Forum).

Technical details

The vulnerability is classified as a Cross-Site Request Forgery (CSRF) issue (CWE-352). According to the National Vulnerability Database, it received a CVSS v3.1 base score of 8.8 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. This indicates that the vulnerability can be exploited remotely, requires low attack complexity, needs no privileges, but does require user interaction (NVD).

Impact

The vulnerability could potentially allow an attacker to perform unauthorized actions through CSRF attacks when a user attempts to reset all templates of a database activity. Given the high CVSS scores for confidentiality, integrity, and availability impacts, successful exploitation could lead to significant security compromises (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Moodle version 4.1.2. Users are advised to upgrade to this version or later to address the security risk. The fix involves adding the necessary security token to the template reset functionality (Moodle Forum).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management