open-dxp/opendxp is vulnerable to Code Injection
72
High Risk
A backend user holding the classes permission can define a DataObject class whose field name or class name/ID is written unescaped into the generated PHP class file and into ALTER TABLE DDL. Class name/ID validation uses an unanchored identifier regex, so extra characters pass the check, and the class ID is concatenated unquoted into raw SQL table names when loading DataObject field data. A crafted field name reaches arbitrary PHP execution once the generated class file is autoloaded, and a crafted class ID leads to SQL injection. The fix anchors the identifier validation regex to the full name/ID and quotes the constructed table and index identifiers before use.
You are affected if you are using a version that falls within the vulnerable range and you hold the classes permission to create or import DataObject class definitions.
open-dxp/opendxp is vulnerable to Code Injection in versions 1.0.0 - 1.4.1.
Upgrade the open-dxp/opendxp library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.