id: wordpress-loco-translate info: name: Loco Translate Detection author: ricardomaia severity: info reference: - https://wordpress.org/plugins/loco-translate/ metadata: max-request: 1 plugin_namespace: loco-translate wpscan: https://wpscan.com/plugin/loco-translate tags: tech,wordpress,wp-plugin,top-100,top-200 http: - method: GET path: - "{{BaseURL}}/wp-content/plugins/loco-translate/readme.txt" payloads: last_version: helpers/wordpress/plugins/loco-translate.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: 4a0a00473045022060f61ebf6066d59cac2a61f252ebaa25abe405435d78cf5a6adefe311294ba8c022100cf8d432868dfb601b06f75f1dd933ab76275a2a1d273a25d9b532fdb6b3e9743:922c64590222798bb761d5b6d8e72950