Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-41270— CSV Injection in Symfony

Quick assessment

Affected
symfony symfony
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Sensio Labs Symfony是法国Sensio Labs公司的一套免费的、基于MVC架构的PHP开发框架。该框架提供常用的功能组件及工具,可用于快速创建复杂的WEB程序。 Symfony 存在安全漏洞,该漏洞源于软件容易受到CSV注入的影响,也被称为公式注入。在Symfony 4.1中,维护人员在“CsvEncoder”中添加了opt-In“csvu escapeu formulas”选项,以在所有以“=”、“+”、“-”或“@”开头的单元格前面加上制表符“ ”。此后,OWASP在该列表中添加了

CVSS 6.5 · Medium EPSS 1.40% · P72

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-41270

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CSV Injection in Symfony
Source: CVE Program / CVE List V5
Vulnerability Description
Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 are vulnerable to CSV injection, also known as formula injection. In Symfony 4.1, maintainers added the opt-in `csv_escape_formulas` option in the `CsvEncoder`, to prefix all cells starting with `=`, `+`, `-` or `@` with a tab `\t`. Since then, OWASP added 2 chars in that list: Tab (0x09) and Carriage return (0x0D). This makes the previous prefix char (Tab `\t`) part of the vulnerable characters, and OWASP suggests using the single quote `'` for prefixing the value. Starting with versions 4.4.34 and 5.3.12, Symfony now follows the OWASP recommendations and uses the single quote `'` to prefix formulas and add the prefix to cells starting by `\t`, `\r` as well as `=`, `+`, `-` and `@`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1236
Source: CVE Program / CVE List V5
Vulnerability Title
Sensio Labs Symfony 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Sensio Labs Symfony是法国Sensio Labs公司的一套免费的、基于MVC架构的PHP开发框架。该框架提供常用的功能组件及工具,可用于快速创建复杂的WEB程序。 Symfony 存在安全漏洞,该漏洞源于软件容易受到CSV注入的影响,也被称为公式注入。在Symfony 4.1中,维护人员在“CsvEncoder”中添加了opt-In“csvu escapeu formulas”选项,以在所有以“=”、“+”、“-”或“@”开头的单元格前面加上制表符“ ”。此后,OWASP在该列表中添加了
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
symfony symfony >= 4.1.0, < 4.4.35 -

II. Public POCs for CVE-2021-41270

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-41270

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-41270 (2)

Vendor Advisories for CVE-2021-41270 (1)

Mailing List Discussions for CVE-2021-41270 (1)

Other References for CVE-2021-41270 (1)

Same Patch Batch · symfony · 2021-11-24 · 3 CVEs total

CVE-2021-41267 6.5 MEDIUM Webcache Poisoning in Symfony
CVE-2021-41268 6.5 MEDIUM Cookie persistence in Symfony

IV. Related Vulnerabilities

V. Comments for CVE-2021-41270

No comments yet


Leave a comment