CVE-2021-41139
Because of not checking this parameter for sanity in versions prior to 1.19.30.5600, it was possible to craft the URI with malicious JavaScript, use social engineering to convince logged on user to click on such link, and have the attacker-supplied…
Does this matter?
Lower severity and a low EPSS score (1.02%). Track it; it rarely justifies an emergency change on its own.
Description
Anuko Time Tracker is an open source, web-based time tracking application written in PHP. When a logged on user selects a date in Time Tracker, it is being passed on via the date parameter in URI. Because of not checking this parameter for sanity in versions prior to 1.19.30.5600, it was possible to craft the URI with malicious JavaScript, use social engineering to convince logged on user to click on such link, and have the attacker-supplied JavaScript to be executed in user's browser. This issue is patched in version 1.19.30.5600. As a workaround, one may introduce `ttValidDbDateFormatDate` function as in the latest version and add a call to it within the access checks block in time.php.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.02% probability · 62th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- anuko/time tracker
- Source
- security-advisories@github.com
References
- https://github.com/anuko/timetracker/commit/559906731f153c9b3a632c2839ed11669b76d593Patch, Third Party Advisory
- https://github.com/anuko/timetracker/commit/d3f60bd3e3ea8ff8ec31a596baec6750af601b7cPatch, Third Party Advisory
- https://github.com/anuko/timetracker/security/advisories/GHSA-h2v8-87c9-86cwThird Party Advisory
- https://github.com/anuko/timetracker/commit/559906731f153c9b3a632c2839ed11669b76d593Patch, Third Party Advisory
- https://github.com/anuko/timetracker/commit/d3f60bd3e3ea8ff8ec31a596baec6750af601b7cPatch, Third Party Advisory
- https://github.com/anuko/timetracker/security/advisories/GHSA-h2v8-87c9-86cwThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.