What the vulnerability does
01Description
Improper Control of Generation of Code ('Code Injection') vulnerability in metalpriceapi MetalpriceAPI metalpriceapi allows Code Injection.This issue affects MetalpriceAPI: from n/a through <= 1.1.4.
CVSS base score
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What the vulnerability does
Improper Control of Generation of Code ('Code Injection') vulnerability in metalpriceapi MetalpriceAPI metalpriceapi allows Code Injection.This issue affects MetalpriceAPI: from n/a through <= 1.1.4.
Explanation of Vulnerability in Simple Terms
MetalpriceAPI versions up to 1.1.4 contain a code injection vulnerability that allows authenticated users to execute arbitrary PHP code on the server. An attacker with low-level account access can inject malicious code through unvalidated input, gaining full control over the site. The vulnerability affects confidentiality, integrity, and availability. Update to version 1.1.5 or later.
What an attacker can do
Run arbitrary PHP code on the server with full site access.
Potential impact on your site
Complete site compromise: data theft, malware injection, and service disruption possible.
Conditions required to exploit
Attacker must have a low-privilege user account on the site.
Key dates
External resources