CVE-2020-4072
Jhipster Generator-jhipster-kotlin vulnerability
In generator-jhipster-kotlin version 1.6.0 log entries are created for invalid password reset attempts. As the email is provided by a user and the api is public this can be used by an attacker to forge log entries. This is vulnerable to https://cwe.mitre.org/data/definitions/117.html This problem affects only application generated with jwt or session authentication. Applications using oauth are not vulnerable. This issue has been fixed in version 1.7.0.
Affected products
Generator-jhipster-kotlin. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jhipster Generator-jhipster-kotlin runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jhipster/jhipster-kotlin/commit/426ccab85e7e0da562643200637b99b6a2a99449 · Patch
- github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-pfxf-wh96-fvjc · Third Party Advisory
- owasp.org/www-community/attacks/Log_Injection
- www.baeldung.com/jvm-log-forging
- nvd.nist.gov/vuln/detail/CVE-2020-4072
- cve.org/CVERecord?id=CVE-2020-4072
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.