Bug 1659223 (CVE-2018-16476) - CVE-2018-16476 activejob: Information Exposure through deserialization using GlobalId
Summary: CVE-2018-16476 activejob: Information Exposure through deserialization using ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-16476
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1674087 1659224 1660585 1660586 1674049 1674050 1674051 1674052 1674088
Blocks: 1659227
TreeView+ depends on / blocked
 
Reported: 2018-12-13 20:31 UTC by Laura Pardo
Modified: 2019-09-29 15:04 UTC (History)
26 users (show)

Fixed In Version: activejob 4.2.11, activejob 5.0.7.1, activejob 5.1.6.1, activejob 5.2.1.1
Doc Type: If docs needed, set a value
Doc Text:
A deserialization flaw, leading to an information exposure flaw, was found in the activejob component used by Red Hat CloudForms and Red Hat Satellite. An attacker can use this flaw to leak memory addresses belonging to the aforementioned applications.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:43:53 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0600 None None None 2019-03-19 07:22:14 UTC

Description Laura Pardo 2018-12-13 20:31:47 UTC
A Broken Access Control vulnerability in Active Job versions >= 4.2.0 allows an attacker to craft user input which can cause Active Job to deserialize it using GlobalId and give them access to information that they should not have. 


References:
https://groups.google.com/d/msg/rubyonrails-security/FL4dSdzr2zw/zjKVhF4qBAAJ 
https://weblog.rubyonrails.org/2018/11/27/Rails-4-2-5-0-5-1-5-2-have-been-released/

Comment 1 Laura Pardo 2018-12-13 20:32:05 UTC
Created rubygem-activejob tracking bugs for this issue:

Affects: fedora-all [bug 1659224]

Comment 2 Scott Gayou 2018-12-18 17:56:11 UTC
RHSCL is vulnerable. Here's an example of what the input looks like before and after serialization & deserialization:

```
(["gid://poc/Person/5"])
```
=>

```
([#<Person:0x0000000001616ce0 @id="5">]).
```

Comment 10 errata-xmlrpc 2019-03-19 07:22:13 UTC
This issue has been addressed in the following products:

  CloudForms Management Engine 5.9

Via RHSA-2019:0600 https://access.redhat.com/errata/RHSA-2019:0600


Note You need to log in before you can comment on or make changes to this bug.