CVE-2018-20420 Path traversal in n/a
An attacker can overwrite existing SQL files on the web server via directory traversal in the TemplateName parameter of webERP.
- 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-2018-20420?
CVE-2018-20420 is a medium-severity path traversal vulnerability in n/a, published on 24 Dec 2018. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
In webERP 4.15, Z_CreateCompanyTemplateFile.php has Incorrect Access Control, leading to the overwrite of an existing .sql file on the target web site by creating a template and then using ../ directory traversal in the TemplateName parameter.
Weakness: CWE-732
Which versions are affected by CVE-2018-20420?
It affects 1 product.
Products include Weberp Weberp.
How do I fix CVE-2018-20420?
No fix has been published for CVE-2018-20420 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-20420 being exploited?
There is no known exploitation of CVE-2018-20420 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-rrjr-6vgw-frf9.