2021-01-10 13:11:25 +00:00
|
|
|
id: opcache-status-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: OPcache Status Exposure
|
2021-04-06 06:46:11 +00:00
|
|
|
author: pdteam
|
2021-01-10 13:11:25 +00:00
|
|
|
severity: low
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2021-01-10 13:11:25 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|