{"id":"CVE-2020-4072","published":"2020-06-25T20:05:15Z","modified":"2024-08-04T07:52:20Z","title":"Log Forging in generator-jhipster-kotlin","vendor":"jhipster","product":"jhipster-kotlin","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01214,"percentile":0.69283,"provenance":"source"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"}],"references":[{"url":"https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-pfxf-wh96-fvjc","tags":["x_refsource_CONFIRM"]},{"url":"https://owasp.org/www-community/attacks/Log_Injection","tags":["x_refsource_MISC"]},{"url":"https://www.baeldung.com/jvm-log-forging","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhipster/jhipster-kotlin/commit/426ccab85e7e0da562643200637b99b6a2a99449","tags":["x_refsource_MISC"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":13.86},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"jhipster","affectedVersions":[{"vendor":"jhipster","product":"jhipster-kotlin","versions":["= 1.6.0"]}],"affected":[{"ecosystem":"npm","package":"generator-jhipster-kotlin","vulnerableRanges":[">=1.6.0, <1.7.0"],"patched":["1.7.0"],"from":["GHSA-pfxf-wh96-fvjc"],"provenance":"source"}],"summary":{"text":"The flaw is a log forging weakness (CWE-117, improper output neutralization for logs) in the generator-jhipster-kotlin component of the jhipster-kotlin product, where log entries written for invalid password reset attempts include user-supplied email input. An unauthenticated attacker with network access can reach the public password reset API and submit crafted input to forge log entries, and this affects only applications generated with JWT or session authentication, not those using OAuth.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:54:48Z"},"euvd":{"id":"EUVD-2020-0506","exploited":false,"provenance":"source"}}