CVE-2015-10018 DBRisinajumi d2files D2filesController.php actionDownloadFile sql injection
Attackers can exploit SQL injection in the file download function to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-10018?
CVE-2015-10018 is a medium-severity SQL injection vulnerability in DBRisinajumi d2files, published on 6 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability has been found in DBRisinajumi d2files and classified as critical. Affected by this vulnerability is the function actionUpload/actionDownloadFile of the file controllers/D2filesController.php. The manipulation leads to sql injection. Upgrading to version 1.0.0 is able to address this issue. The identifier of the patch is b5767f2ec9d0f3cbfda7f13c84740e2179c90574. It is recommended to upgrade the affected component. The identifier VDB-217561 was assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2015-10018?
2 open source packages ship an affected version, including dbrisinajumi/d2files. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dbrisinajumi/d2files Packagist | All versions | 1.0.0 |
dbrisinajumi/d2files Packagist | All versions | 1.0.0 |
Products include Weberp D2files.
How do I fix CVE-2015-10018?
Upgrade dbrisinajumi/d2files to 1.0.0 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2015-10018 being exploited?
There is no known exploitation of CVE-2015-10018 in the wild and no public exploit code.
Sources
Also known as GHSA-68hv-8926-j34c.