| Zakres | Wpływ | Prawdopodobieństwo |
|---|---|---|
| Confidentiality | Read Files or Directories, Read Application Data Note: The injected code could access restricted data / files. | |
| Access Control | Bypass Protection Mechanism Note: In some cases, injectable code controls authentication; this may lead to a remote vulnerability. | |
| Access Control | Gain Privileges or Assume Identity Note: Injected code can access resources that the attacker is directly prevented from accessing. | |
| Integrity Confidentiality Availability Other | Execute Unauthorized Code or Commands Note: Code injection attacks can lead to loss of data integrity in nearly all cases as the control-plane data injected is always incidental to data recall or writing. Additionally, code injection can often result in the execution of arbitrary code or at least modify what code can be executed. | |
| Non-Repudiation | Hide Activities Note: Often the actions performed by injected control code are unlogged. |
| Odniesienia | Opis |
|---|---|
CVE-2024-4181 | Framework for LLM applications allows eval injection via a crafted response from a hosting provider. |
CVE-2022-2054 | Python compiler uses eval() to execute malicious strings as Python code. |
CVE-2021-22204 | Chain: regex in EXIF processor code does not correctly determine where a string ends (CWE-625), enabling eval injection (CWE-95), as exploited in the wild per CISA KEV. |
CVE-2021-22205 | Chain: backslash followed by a newline can bypass a validation step (CWE-20), leading to eval injection (CWE-95), as exploited in the wild per CISA KEV. |
CVE-2008-5071 | Eval injection in PHP program. |
CVE-2002-1750 | Eval injection in Perl program. |
CVE-2008-5305 | Eval injection in Perl program using an ID that should only contain hyphens and numbers. |
CVE-2002-1752 | Direct code injection into Perl eval function. |
CVE-2002-1753 | Eval injection in Perl program. |
CVE-2005-1527 | Direct code injection into Perl eval function. |
CVE-2005-2837 | Direct code injection into Perl eval function. |
CVE-2005-1921 | MFV. code injection into PHP eval statement using nested constructs that should not be nested. |
CVE-2005-2498 | MFV. code injection into PHP eval statement using nested constructs that should not be nested. |
CVE-2005-3302 | Code injection into Python eval statement from a field in a formatted file. |
CVE-2007-1253 | Eval injection in Python program. |
CVE-2001-1471 | chain: Resultant eval injection. An invalid value prevents initialization of variables, which can be modified by attacker and later injected into PHP eval statement. |
CVE-2007-2713 | Chain: Execution after redirect triggers eval injection. |
| CAPEC-ID | Nazwa wzorca ataku |
|---|---|
| CAPEC-35 | Leverage Executable Code in Non-Executable Files
An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. |
| Nazwa | Organizacja | Data | Data wydania | Version |
|---|---|---|---|---|
| PLOVER | Draft 3 |
| Nazwa | Organizacja | Data | Komentarz |
|---|---|---|---|
| Eric Dalci | Cigital | updated Time_of_Introduction | |
| Veracode | Suggested OWASP Top Ten 2004 mapping | ||
| CWE Content Team | MITRE | updated Applicable_Platforms, Description, Modes_of_Introduction, Relationships, Other_Notes, Taxonomy_Mappings, Weakness_Ordinalities | |
| CWE Content Team | MITRE | updated Description, Observed_Examples, Other_Notes, Research_Gaps | |
| CWE Content Team | MITRE | updated Alternate_Terms, Applicable_Platforms, Demonstrative_Examples, Description, Name, References | |
| CWE Content Team | MITRE | updated Potential_Mitigations | |
| CWE Content Team | MITRE | updated Description, Name | |
| CWE Content Team | MITRE | updated Common_Consequences | |
| CWE Content Team | MITRE | updated Common_Consequences, Demonstrative_Examples, References, Relationships | |
| CWE Content Team | MITRE | updated Potential_Mitigations | |
| CWE Content Team | MITRE | updated Observed_Examples | |
| CWE Content Team | MITRE | updated Relationships, Taxonomy_Mappings | |
| CWE Content Team | MITRE | updated Causal_Nature, Modes_of_Introduction, References, Relationships, Taxonomy_Mappings | |
| CWE Content Team | MITRE | updated Taxonomy_Mappings | |
| CWE Content Team | MITRE | updated Type | |
| CWE Content Team | MITRE | updated Potential_Mitigations, Relationships | |
| CWE Content Team | MITRE | updated Potential_Mitigations | |
| CWE Content Team | MITRE | updated Relationships | |
| CWE Content Team | MITRE | updated Relationships | |
| CWE Content Team | MITRE | updated Research_Gaps | |
| CWE Content Team | MITRE | updated Observed_Examples | |
| CWE Content Team | MITRE | updated Observed_Examples | |
| CWE Content Team | MITRE | updated Demonstrative_Examples, Description | |
| CWE Content Team | MITRE | updated Demonstrative_Examples, Detection_Factors, Relationships, Time_of_Introduction | |
| CWE Content Team | MITRE | updated Mapping_Notes | |
| CWE Content Team | MITRE | updated Demonstrative_Examples, Potential_Mitigations, References | |
| CWE Content Team | MITRE | updated Applicable_Platforms, Observed_Examples | |
| CWE Content Team | MITRE | updated Common_Consequences, Description, Diagram | |
| CWE Content Team | MITRE | updated Demonstrative_Examples, Relationships |