Vulnerability Details : CVE-2021-41139
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-41139
- cpe:2.3:a:anuko:time_tracker:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-41139
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-41139
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
2.8
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2021-41139
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-41139
-
https://github.com/anuko/timetracker/security/advisories/GHSA-h2v8-87c9-86cw
Reflected XSS vulnerability in time.php · Advisory · anuko/timetracker · GitHubThird Party Advisory
-
https://github.com/anuko/timetracker/commit/d3f60bd3e3ea8ff8ec31a596baec6750af601b7c
A better fix to validate a passed-in date. · anuko/timetracker@d3f60bd · GitHubPatch;Third Party Advisory
-
https://github.com/anuko/timetracker/commit/559906731f153c9b3a632c2839ed11669b76d593
Added a check for passed in date to time.php. · anuko/timetracker@5599067 · GitHubPatch;Third Party Advisory
Jump to