CVE-2017-2662 katello Improper Privilege Management vulnerability
Attackers can bypass repository access filters via Hammer CLI, gaining unauthorized read access to restricted data in Foreman Katello.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-2662?
CVE-2017-2662 is a medium-severity missing authorization vulnerability in The Foreman Project foreman katello plugin, published on 22 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A flaw was found in Foreman's katello plugin version 3.4.5. After setting a new role to allow restricted access on a repository with a filter (filter set on the Product Name), the filter is not respected when the actions are done via hammer using the repository id.
Which versions are affected by CVE-2017-2662?
2 open source packages ship an affected version, including katello. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
katello RubyGems | All versions | 3.17.0.rc1 |
katello RubyGems | All versions | 3.17.0.rc1 |
Products include Theforeman Katello.
How do I fix CVE-2017-2662?
Upgrade katello to 3.17.0.rc1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2017-2662 being exploited?
There is no known exploitation of CVE-2017-2662 in the wild and no public exploit code.
Other vulnerabilities in The Foreman Project foreman katello plugin
Sources
Also known as GHSA-cpv6-pfq6-j2v7.