CVE-2015-10018
PHP vulnerability analysis and mitigation

Overview

A critical SQL injection vulnerability was discovered in DBRisinajumi d2files affecting the actionUpload/actionDownloadFile functions in the controllers/D2filesController.php file. The vulnerability was assigned CVE-2015-10018 and was disclosed on January 6, 2023. The issue affects versions prior to 1.0.0 of the d2files component (NVD, GitHub Patch).

Technical details

The vulnerability exists in the actionUpload and actionDownloadFile functions of D2filesController.php where model_id parameter was not properly type-cast, allowing for potential SQL injection attacks. The CVSS v3.1 base score is 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue was fixed by adding proper type casting of the model_id parameter to integer using (int) type conversion (NVD).

Impact

If exploited, this vulnerability could allow an attacker to perform SQL injection attacks, potentially leading to unauthorized access to or modification of the database, exposure of sensitive information, and compromise of the application's integrity (NVD).

Mitigation and workarounds

The vulnerability was patched in version 1.0.0 of d2files. Users should upgrade to this version or later to address the issue. The fix involves properly type-casting the model_id parameter to integer in the affected functions (GitHub Release, GitHub Patch).

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-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026

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