vendor:
PHP Timeclock
by:
Tyler Butler
3.1
CVSS
MEDIUM
Cross-Site Scripting
79
CWE
Product Name: PHP Timeclock
Affected Version From: 1.04
Affected Version To: 1.04
Patch Exists: NO
Related CWE: N/A
CPE: a:timeclock:php_timeclock:1.04
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: PHP 4.4.9/5.3.3 Apache 2.2 MySql 4.1.22/5
2021
PHP Timeclock 1.04 – ‘Multiple’ Cross Site Scripting (XSS)
PHP Timeclock version 1.04 (and prior) suffers from multiple Cross-Site Scripting vulnerabilities. Unauthenticated Reflected XSS can be injected into the application by appending a termination /'> and payload directly to the end of the GET request URL. The vulnerable paths include (1) /login.php (2) /timeclock.php (3) /reports/audit.php and (4) /reports/timerpt.php. Unauthenticated Reflected XSS can also be injected into the application in POST requests to (1) /reports/audit.php (2) /reports/total_hours.php (3) /reports/timerpt.php via the from_date and to_date parameters.
Mitigation:
Ensure that user input is properly sanitized and validated before being used in the application.