Staging Environment: Content and features may be unstable or change without notice.
Advisory details: gitlab / gem/actionpack/CVE-2016-2098
Advisory ID gitlab/gem/actionpack/CVE-2016-2098
Aliases CVE-2016-2098
Summary Possible remote code execution vulnerability Applications that pass unverified user input to the `render` method in a controller or a view may be vulnerable to a code injection. An attacker could use the request parameters to coerce the controller to execute arbitrary ruby code.
Status Published
Exploitability 2.0
Weighted Severity 0.0
Risk
Affected and Fixed Packages Package Details
Introduced and Fixed Package Commit Patches Package Commit Patches Details
Weaknesses (0)
There are no known CWE.
Data source Metasploit
Description This module exploits a remote code execution vulnerability in the inline request processor of the Ruby on Rails ActionPack component. This vulnerability allows an attacker to process ERB to the inline JSON processor, which is then rendered, permitting full RCE within the runtime, without logging an error condition.
Note
Reliability:
  - unknown-reliability
Stability:
  - unknown-stability
SideEffects:
  - unknown-side-effects
Ransomware campaign use Unknown
Source publication date March 1, 2016
Platform Ruby
Source URL https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/multi/http/rails_actionpack_inline_exec.rb
Data source Exploit-DB
Date added July 11, 2016
Description Ruby on Rails ActionPack Inline ERB - Code Execution (Metasploit)
Ransomware campaign use Known
Source publication date July 11, 2016
Exploit type remote
Platform ruby
Source update date July 11, 2016
Data source Metasploit
Description This module exploits a remote code execution vulnerability in the inline request processor of the Ruby on Rails ActionPack component. This vulnerability allows an attacker to process ERB to the inline JSON processor, which is then rendered, permitting full RCE within the runtime, without logging an error condition.
Note
Reliability:
  - unknown-reliability
Stability:
  - unknown-stability
SideEffects:
  - unknown-side-effects
Ransomware campaign use Unknown
Source publication date March 1, 2016
Platform Ruby
Source URL https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/multi/http/rails_actionpack_inline_exec.rb
Data source Exploit-DB
Date added July 11, 2016
Description Ruby on Rails ActionPack Inline ERB - Code Execution (Metasploit)
Ransomware campaign use Known
Source publication date July 11, 2016
Exploit type remote
Platform ruby
Source update date July 11, 2016

No EPSS data available for this advisory.

Patch URL
There are no known patches.
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P Found at https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/actionpack/CVE-2016-2098.yml
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Found at https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/actionpack/CVE-2016-2098.yml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

There are no SSVC decisions available.