id: opcache-status-exposure
info:
name: OPcache Status Page - Detect
author: pdteam
severity: medium
description: OPcache status page was detected.
reference: https://www.php.net/manual/en/book.opcache.php
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
metadata:
max-request: 3
tags: config,exposure,status
http:
- method: GET
path:
- "{{BaseURL}}/opcache-status/"
- "{{BaseURL}}/php-opcache-status/"
- "{{BaseURL}}/opcache-status/opcache.php"
matchers:
- type: word
words:
- "<th>opcache_enabled</th>"
- "<th>opcache_hit_rate</th>"
condition: and
part: body
# digest: 4b0a00483046022100a58c7ad4f551d7d31aab799b9fd3c2a651fd117a7ecaf98894b83a3042a076dd022100a90cc78ceb641ff59a126ac370e9d72667ee72bef6b2660d586a9eafe8b71617:922c64590222798bb761d5b6d8e72950