Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-7275-moodle — PoC & dokumentasi untuk CVE-2026-7275: Moodle Google Drive Repository (repository_googledocs) — Path Traversal / Arbitrary File Write yang dapat mengarah ke RCE pada versi Moodle yang belum dipatch. | Kitploit
Tools/GitHubGitHub/exdev994/cve-2026-7275-moodle
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubexdev994/cve-2026-7275-moodle

CVE-2026-7275-moodle

PoC & dokumentasi untuk CVE-2026-7275: Moodle Google Drive Repository (repository_googledocs) — Path Traversal / Arbitrary File Write yang dapat mengarah ke RCE pada versi Moodle yang belum dipatch.

View Repository
32 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-7275-moodle

PoC & documentation for CVE-2026-7275: Moodle Google Drive Repository (repository_googledocs) — Path Traversal / Arbitrary File Write that can lead to RCE on unpatched Moodle versions.

Disclaimer: For authorized security research, auditing, and defensive education only. Do not use on systems without written permission.

Metadata

FieldValue
CVECVE-2026-7275
AdvisoryMSA-26-0006
TrackerMDL-88423
Componentrepository_googledocs
CWECWE-22 (Path Traversal)
SeverityCritical (CVSS ~9.1)
AffectedMoodle 5.1.0–5.1.3, 5.0.0–5.0.6, 4.5.0–4.5.10
Fixed in5.1.4, 5.0.7, 4.5.11

Summary

The Google Drive plugin in Moodle downloads files from the Google API using the file name metadata ($originalfile->name). Before the patch, this name was passed to prepare_file() without sanitization, allowing payloads like ../../../../public/shell.php to write files outside the temp directory → potential RCE if the webroot executes PHP.

No need to know absolute path — just relative traversal (repeated ../) from random temp folder.

Repository structure

root@kitploit:~
├── README.md              ← summary (this file)
├── CONTRIBUTORS.md        ← 0xNuts + Cursor
├── EXPLOIT.md             ← attack chain, payload, prerequisites
├── PATCH.md               ← patch analysis & mitigations
└── poc/
    └── demo_path_traversal.py   ← local demo pre-patch vs post-patch

Quick start (local PoC)

root@kitploit:~
python poc/demo_path_traversal.py

Output shows ESCAPE (pre-patch) vs contained (post-patch) paths.

Exploit prerequisites (vulnerable versions)

PrerequisiteDetail
Moodle accountAuthenticated user
Capabilityrepository/googledocs:view
OAuthGoogle Drive linked to Moodle user
Pluginrepository_googledocs active
VersionUnpatched (< 5.1.4 / < 5.0.7 / < 4.5.11)

Patch (summary)

root@kitploit:~
// public/repository/lib.php — prepare_file()
return sprintf('%s/%s', make_request_directory(), clean_param($filename, PARAM_FILE));

Full details: PATCH.md

Contributors

0xNuts@ExDev994 — lead researcher, PoC, documentation
Cursorcursor.com — co-researcher, static analysis, exploit & patch write-up

Details: CONTRIBUTORS.md

References

  • Moodle Security — MSA-26-0006
  • CVE-2026-7275 (NVD)

root@kitploit:~
/*
 * CVE-2026-7275 — break to understand, patch to defend.
 * Contributors: 0xNuts (@ExDev994) + Cursor
 */
Download Tool