Privilege escalation in Brakemen tool for Ruby on Rails



Published: 2019-11-14
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-18409
CWE-ID CWE-269
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Brakeman
Other software / Other software solutions

Vendor presidentbeef

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Improper Privilege Management

EUVDB-ID: #VU22774

Risk: Low

CVSSv3.1: 7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-18409

CWE-ID: CWE-269 - Improper Privilege Management

Exploit availability: No

Description

The vulnerability allows a remote attacker to escalate privilege on the target system.

The vulnerability exists due to missing access control in the "ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb" file. A local user can escalate privileges and execute arbitrary code on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Brakeman: 0.0.1 - 4.7.0

External links

http://github.com/zenspider/ruby_parser-legacy/issues/1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###