id: opache-control-panel

info:
  name: Opache control Panel - Unauthenticated Access
  author: pussycat0x
  severity: medium
  description: Opache control Panel is exposed.
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.title:"Opcache Control Panel"
  tags: misconfig,opache,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/ocp.php"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Opcache Control Panel", "Reset", "Files")'
        condition: and
# digest: 4b0a00483046022100c3393dc703ea442099749774d45ead4818d7be0d358fdba4bff5a0c0cb457e900221009134ebd7885b90a327863d142cf56f5c9079bf3d12a7ff0eb9f20486b1c885dc:922c64590222798bb761d5b6d8e72950