Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. refile
  4. ›
  5. OSVDB-120857

OSVDB-120857: Remote code execution

April 15, 2015

The package refile contains a flaw that is triggered when input is not sanitized when handling the remote_image_url field in a form, where image is the name of the attachment. This may allow a remote attacker to execute arbitrary shell commands.

References

  • groups.google.com/forum/

Code Behaviors & Features

Detect and mitigate OSVDB-120857 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.5.0 before 0.5.4

Fixed versions

  • 0.5.4

Solution

Disable the feature entirely by not permitting the `remote_{attachment}_url` parameter to be passed to the model or upgrade to the latest version.

Source file

gem/refile/OSVDB-120857.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.