CVE-2022-1544 Formula Injection/CSV Injection due to Improper Neutralization of Formula Elements in CSV File in luyadev/yii-helpers
Attackers can inject malicious formulas into CSV files to execute code or exfiltrate data via client-side injection in the luyadev/yii-helpers library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-1544?
CVE-2022-1544 is a high-severity code injection vulnerability in luyadev/yii-helpers, published on 1 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Formula Injection/CSV Injection due to Improper Neutralization of Formula Elements in CSV File in GitHub repository luyadev/yii-helpers prior to 1.2.1. Successful exploitation can lead to impacts such as client-sided command injection, code execution, or remote ex-filtration of contained confidential data.
Weakness: CWE-1236
Which versions are affected by CVE-2022-1544?
2 open source packages ship an affected version, including luyadev/yii-helpers. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
luyadev/yii-helpers Packagist | All versions | 1.2.1 |
luyadev/yii-helpers Packagist | All versions | 1.2.1 |
Products include Luya Yii-Helpers.
How do I fix CVE-2022-1544?
Upgrade luyadev/yii-helpers to 1.2.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-1544 being exploited?
There is no known exploitation of CVE-2022-1544 in the wild and no public exploit code.
Sources
Also known as GHSA-f9p3-h6cg-2cjr.