{
  "id": "CVE-2016-0752",
  "url": "https://poc.griffinguard.io/cve/CVE-2016-0752",
  "published_at": "2016-02-16T02:00:00Z",
  "title": "Ruby on Rails Directory Traversal Vulnerability",
  "vendor": "Rails",
  "product": "Ruby on Rails",
  "cvss": {
    "score": 7.5,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-03-25",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 2229
  },
  "first_poc": {
    "created_at": "2016-01-26T15:25:34Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -20.4,
    "repo": "forced-request/rails-rce-cve-2016-0752",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cisa-adp": 7.5
  },
  "repos": [
    {
      "repo": "forced-request/rails-rce-cve-2016-0752",
      "url": "https://github.com/forced-request/rails-rce-cve-2016-0752",
      "created_at": "2016-01-26T15:25:34Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 10,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2011-08-05T13:23:27Z"
    },
    {
      "repo": "dachidahu/CVE-2016-0752",
      "url": "https://github.com/dachidahu/CVE-2016-0752",
      "created_at": "2016-03-18T21:10:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-03-14T09:49:51Z"
    },
    {
      "repo": "julianmunoz/Rails-Dynamic-Render-vuln",
      "url": "https://github.com/julianmunoz/Rails-Dynamic-Render-vuln",
      "created_at": "2016-04-17T00:08:23Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-04-04T03:20:49Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "actionview",
        "ranges": [
          "\u003e= 4.0.0, \u003c 4.1.14.1"
        ],
        "fixed_in": [
          "4.1.14.1"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xrr4-p6fq-hjg7"
      },
      {
        "vendor": "",
        "product": "actionview",
        "ranges": [
          "\u003e= 4.2.0, \u003c 4.2.5.1"
        ],
        "fixed_in": [
          "4.2.5.1"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xrr4-p6fq-hjg7"
      },
      {
        "vendor": "",
        "product": "actionpack",
        "ranges": [
          "\u003e= 4.0.0, \u003c 4.1.14.1"
        ],
        "fixed_in": [
          "4.1.14.1"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xrr4-p6fq-hjg7"
      },
      {
        "vendor": "",
        "product": "actionpack",
        "ranges": [
          "\u003e= 4.2.0, \u003c 4.2.5.1"
        ],
        "fixed_in": [
          "4.2.5.1"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xrr4-p6fq-hjg7"
      },
      {
        "vendor": "",
        "product": "actionpack",
        "ranges": [
          "\u003c 3.2.22.1"
        ],
        "fixed_in": [
          "3.2.22.1"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xrr4-p6fq-hjg7"
      }
    ],
    "upgrade": [
      "Upgrade actionview to 4.1.14.1 or later.",
      "Upgrade actionview to 4.2.5.1 or later.",
      "Upgrade actionpack to 4.1.14.1 or later.",
      "Upgrade actionpack to 4.2.5.1 or later.",
      "Upgrade actionpack to 3.2.22.1 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/40561/",
      "source": "cvelist",
      "title": "40561",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/40561",
      "source": "exploitdb",
      "title": "Ruby on Rails - Dynamic Render File Upload / Remote Code Execution (Metasploit)",
      "published_at": "2016-10-17T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/rails_dynamic_render_code_exec.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Ruby on Rails Dynamic Render File Upload Remote Code Execution (exploit/multi/http/rails_dynamic_render_code_exec)",
      "published_at": "2016-10-10T22:36:20Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/users/{var}",
      "ports": [
        80,
        3000
      ],
      "user_agents": [
        "body_markers"
      ],
      "protocol": "http",
      "repos": [
        "dachidahu/CVE-2016-0752"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "dachidahu/CVE-2016-0752/config/routes.rb:3",
        "dachidahu/CVE-2016-0752/app/controllers/user_controller.rb:3",
        "dachidahu/CVE-2016-0752/README.md:15"
      ]
    }
  ],
  "rules": []
}
