Files
CVEs-PoC/2021/CVE-2021-22885.md
T
2025-09-29 21:09:30 +02:00

20 lines
892 B
Markdown

### [CVE-2021-22885](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22885)
![](https://img.shields.io/static/v1?label=Product&message=https%3A%2F%2Fgithub.com%2Frails%2Frails&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=6.1.3.1%2C%206.0.3.7%2C%205.2.4.6%2C%205.2.6%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Information%20Exposure%20Through%20an%20Error%20Message%20(CWE-209)&color=brightgreen)
### Description
A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/20142995/nuclei-templates
- https://github.com/cyb3r-w0lf/nuclei-template-collection
- https://github.com/wilburhimself/gem_guard