Skip to main content

Improper Control of Generation of Code ('Code Injection')

CVE-2022-23503

Severity High
Score 8.8/10

Summary

TYPO3 is an open source PHP based web content management system. It is discovered that a few versions are vulnerable to Code Injection. Due to the lack of separating user-submitted data from the internal configuration in the Form Designer backend module, it is possible to inject code instructions to be processed and executed via TypoScript as PHP code. The existence of individual TypoScript instructions for a particular form item and a valid backend user account with access to the form module are needed to exploit this vulnerability. Typo3/cms, typo3/cms-core and typo3/cms-form versions 8.5.x prior to 10.4.33, 11.x prior to 11.5.20 and 12.x prior to 12.1.1 are affected by this vulnerability.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

CWE-94 - Code Injection

Code injection is a type of vulnerability that allows an attacker to execute arbitrary code. This vulnerability fully compromises the machine and can cause a wide variety of security issues, such as unauthorized access to sensitive information, manipulation of data, denial of service attacks etc. Code injection is different from command injection in the fact that it is limited by the functionality of the injected language (e.g. PHP), as opposed to command injection, which leverages existing code to execute commands, usually within the context of a shell.

Advisory Timeline

  • Published