id: arcade-php-sqli

info:
  name: Arcade.php - SQL Injection
  author: MaStErChO
  severity: high
  description: |
    The arcade.php script is vulnerable to SQL injection. By exploiting this vulnerability, an attacker can manipulate the SQL queries executed by the script, potentially gaining unauthorized access to the database.
  reference:
    - https://www.exploit-db.com/exploits/29604
    - https://github.com/OWASP/vbscan/
  classification:
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: arcade,php,vbulletin,sqli,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/arcade.php?act=Arcade&do=stats&comment=a&s_id=1'"

    host-redirects: true
    max-redirects: 3
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "mySQL query error"

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