Vulnerability · Published Jun 25, 2020 · Assigned by GitHub_M
CVE-2020-4072Log Forging in generator-jhipster-kotlin
Medium 5.3
In plain English
A medium-severity security flaw in jhipster-kotlin from jhipster. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | generator-jhipster-kotlin | 1.7.0 | GHSA-pfxf-wh96-fvjc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jhipster | jhipster-kotlin | = 1.6.0 |
Weakness: CWE-117 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-pfxf-wh96-fvjc x_refsource_CONFIRM
- https://owasp.org/www-community/attacks/Log_Injection x_refsource_MISC
- https://www.baeldung.com/jvm-log-forging x_refsource_MISC
- https://github.com/jhipster/jhipster-kotlin/commit/426ccab85e7e0da562643200637b99b6a2a99449 x_refsource_MISC