QID 154123
Date Published: 2022-10-06
QID 154123: Drupal Core: Twig Template Path Traversal Vulnerability (CVE-2022-39261)
Drupal is a free and open source content management framework written in PHP and distributed under the GNU General Public License.
Drupal uses the Twig third-party library for content templating and sanitization. Twig is vulnerable to path traversal. When using the filesystem loader to load templates for which the name is a user input, it is possible to use the source or include statement to read arbitrary files from outside the templates directory when using a namespace like @somewhere/../some.file (in such a case, validation is bypassed).
Affected Versions:
Drupal 8.0.0 to 9.3.22
Drupal 9.4.0 to 9.4.7
QID Detection Logic:(Unauthenticated)
This QID checks for vulnerable version of Drupal installed on the target.
Successful exploitation of the vulnerability may allow remote attackers to read sensitive files on the target server.
For more information visit Drupal security advisory SA-CORE-2022-016.
- SA-CORE-2022-016 -
www.drupal.org/sa-core-2022-016
CVEs related to QID 154123
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| SA-CORE-2022-016 |
|