Advisories

CodeIgniter4 before 4.7.5 Code Injection via View Data Key Collision

Go back
Severity
high
Date
Affecting
  • CodeIgniter4 < 4.7.5

CWE
  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
CVSS
7.7
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
tomasantunes
Description
CodeIgniter4 before 4.7.5 contains a code injection vulnerability because view data is extracted into the same scope as internal variables, letting colliding keys replace the trusted template source or an included view path. Attackers who control view data keys can supply template, view, or foundView keys to Parser::render(), Parser::renderString(), View::renderString(), or view cells to execute PHP code or include unintended local files.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.