CVE-2022-45291 Code injection in n/a
Remote attackers can execute arbitrary PHP code via injection in settings.php, aided by a hardcoded support password.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-45291?
CVE-2022-45291 is a high-severity code injection vulnerability in n/a, published on 25 Apr 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
PWS Personal Weather Station Dashboard (PWS_Dashboard) LTS December 2020 (2012_lts) allows remote code execution by injecting PHP code into settings.php. Attacks can use the PWS_printfile.php, PWS_frame_text.php, PWS_listfile.php, PWS_winter.php, and PWS_easyweathersetup.php endpoints. A contributing factor is a hardcoded login password of support, which is not documented. (This is not the same as the documented setup password, which is 12345.) The issue was fixed in late 2022.
Weakness: CWE-798
Which versions are affected by CVE-2022-45291?
It affects 1 product.
Products include Pwsdashboard Personal Weather Station Dashboard.
How do I fix CVE-2022-45291?
No fix has been published for CVE-2022-45291 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-45291 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45291 exists.
Sources
Also known as GHSA-gjg7-8vgp-3m7g.