id: wordpress-ewww-image-optimizer info: name: EWWW Image Optimizer Detection author: ricardomaia severity: info reference: - https://wordpress.org/plugins/ewww-image-optimizer/ metadata: max-request: 1 plugin_namespace: ewww-image-optimizer wpscan: https://wpscan.com/plugin/ewww-image-optimizer tags: tech,wordpress,wp-plugin,top-100,top-200 http: - method: GET path: - "{{BaseURL}}/wp-content/plugins/ewww-image-optimizer/readme.txt" payloads: last_version: helpers/wordpress/plugins/ewww-image-optimizer.txt extractors: - type: regex part: body internal: true name: internal_detected_version group: 1 regex: - '(?i)Stable.tag:\s?([\w.]+)' - type: regex part: body name: detected_version group: 1 regex: - '(?i)Stable.tag:\s?([\w.]+)' matchers-condition: or matchers: - type: dsl name: "outdated_version" dsl: - compare_versions(internal_detected_version, concat("< ", last_version)) - type: regex part: body regex: - '(?i)Stable.tag:\s?([\w.]+)' # digest: 4b0a004830460221009c2ae60b29d6464dd16bf5ff04b6eea05570969d5981831cbaf2c791d71278f20221009a6e30213edc77c028aa44091fb775ccdf10dd4ba0a4bfd14f6030117d55fffd:922c64590222798bb761d5b6d8e72950