Files
nuclei-templates/http/technologies/wordpress/plugins/shortpixel-image-optimiser.yaml

49 lines
1.4 KiB
YAML
Raw Normal View History

2022-12-01 20:29:57 -03:00
id: wordpress-shortpixel-image-optimiser
info:
name: ShortPixel Image Optimizer Optimize Images, Convert WebP & AVIF Detection
2022-12-01 20:29:57 -03:00
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/shortpixel-image-optimiser/
metadata:
plugin_namespace: shortpixel-image-optimiser
wpscan: https://wpscan.com/plugin/shortpixel-image-optimiser
2022-12-16 18:13:03 -03:00
tags: tech,wordpress,wp-plugin,top-200
2022-12-01 20:29:57 -03:00
http:
2022-12-01 20:29:57 -03:00
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/shortpixel-image-optimiser/readme.txt"
2022-12-06 06:28:42 -03:00
payloads:
2022-12-16 18:13:03 -03:00
last_version: helpers/wordpress/plugins/shortpixel-image-optimiser.txt
2022-12-06 06:28:42 -03:00
extractors:
2022-12-01 20:29:57 -03:00
- type: regex
2022-12-06 06:28:42 -03:00
part: body
internal: true
name: internal_detected_version
group: 1
2022-12-01 20:29:57 -03:00
regex:
2022-12-06 06:28:42 -03:00
- '(?i)Stable.tag:\s?([\w.]+)'
2022-12-01 20:29:57 -03:00
- type: regex
part: body
2022-12-06 06:28:42 -03:00
name: detected_version
2022-12-01 20:29:57 -03:00
group: 1
regex:
- '(?i)Stable.tag:\s?([\w.]+)'
2022-12-06 06:28:42 -03:00
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.]+)'
2025-05-17 05:49:33 +00:00
# digest: 490a0046304402205cc9e2dc6a8a119d6899993027cf0890b8518a80298f7c5e7666d7a4f5fcd86302206d609da3f8e3295556ea4b43c4c2b7083f3b98b78847e678cc5a4c1b2b5ecee4:922c64590222798bb761d5b6d8e72950