CVE-2019-10138 Improper Access Control in novajoin

High 7.1 Published Updated

Authenticated users can generate FreeIPA tokens due to missing access controls in the novajoin API, potentially escalating privileges or accessing sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-10138?

CVE-2019-10138 is a high-severity missing authorization vulnerability in Red Hat python-novajoin, published on 30 Jul 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A flaw was discovered in the python-novajoin plugin, all versions up to, excluding 1.1.1, for Red Hat OpenStack Platform. The novajoin API lacked sufficient access control, allowing any keystone authenticated user to generate FreeIPA tokens.

Weakness: CWE-284

Which versions are affected by CVE-2019-10138?

3 open source packages ship an affected version, including novajoin. It affects 1 product.

PackageAffectedFixed in
novajoin PyPIAll versions1.1.1
novajoin PyPIAll versions1.1.1
novajoin PyPIAll versions1.1.1
Linux distribution packages (37)
python-novajoin Red Hat:openstack:13::el7All versions0:1.1.1-3.el7ost
ansible-role-container-registry Red Hat:openstack:14::el7All versions0:1.0.1-0.20190218212245.d6a749a.el7ost
ansible-role-redhat-subscription Red Hat:openstack:14::el7All versions0:1.0.2-1.el7ost
ansible-role-tripleo-modify-image Red Hat:openstack:14::el7All versions0:1.0.1-0.20190226052419.9014df9.el7ost
ansible-tripleo-ipsec Red Hat:openstack:14::el7All versions0:9.1.0-1.el7ost
openstack-barbican Red Hat:openstack:14::el7All versions0:7.0.1-0.20190204192112.ed17b57.el7ost
openstack-barbican-api Red Hat:openstack:14::el7All versions0:7.0.1-0.20190204192112.ed17b57.el7ost
openstack-barbican-common Red Hat:openstack:14::el7All versions0:7.0.1-0.20190204192112.ed17b57.el7ost
openstack-barbican-keystone-listener Red Hat:openstack:14::el7All versions0:7.0.1-0.20190204192112.ed17b57.el7ost
openstack-barbican-worker Red Hat:openstack:14::el7All versions0:7.0.1-0.20190204192112.ed17b57.el7ost
openstack-designate Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-agent Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-api Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-central Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-common Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-mdns Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-pool-manager Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-producer Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-sink Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-worker Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-designate-zone-manager Red Hat:openstack:14::el7All versions1:7.0.1-0.20190314164436.7f4c878.el7ost
openstack-heat-ui Red Hat:openstack:14::el7All versions0:1.4.1-0.20190130023741.0b301df.el7ost
openstack-kuryr-kubernetes Red Hat:openstack:14::el7All versions0:0.5.4-0.20190220170509.17d2635.el7ost
openstack-kuryr-kubernetes-cni Red Hat:openstack:14::el7All versions0:0.5.4-0.20190220170509.17d2635.el7ost
openstack-kuryr-kubernetes-common Red Hat:openstack:14::el7All versions0:0.5.4-0.20190220170509.17d2635.el7ost
openstack-kuryr-kubernetes-controller Red Hat:openstack:14::el7All versions0:0.5.4-0.20190220170509.17d2635.el7ost
openstack-manila Red Hat:openstack:14::el7All versions1:7.1.0-2.el7ost
openstack-manila-share Red Hat:openstack:14::el7All versions1:7.1.0-2.el7ost
openstack-manila-ui Red Hat:openstack:14::el7All versions0:2.16.1-0.20190204170113.4865df2.el7ost
openstack-octavia-ui Red Hat:openstack:14::el7All versions0:2.0.1-0.20190110112807.85e4a3e.el7ost
openstack-selinux Red Hat:openstack:14::el7All versions0:0.8.18-1.el7ost
openstack-tempest Red Hat:openstack:14::el7All versions1:19.0.0-3.el7ost
openstack-tempest-all Red Hat:openstack:14::el7All versions1:19.0.0-3.el7ost
openstack-zaqar Red Hat:openstack:14::el7All versions1:7.0.1-0.20181026065336.fed6d77.el7ost
openvswitch2.10 Red Hat:openstack:14::el7All versions0:2.10.0-28.el7fdp.2
openvswitch2.10-debuginfo Red Hat:openstack:14::el7All versions0:2.10.0-28.el7fdp.2
openvswitch2.10-devel Red Hat:openstack:14::el7All versions0:2.10.0-28.el7fdp.2

Products include Python Novajoin.

How do I fix CVE-2019-10138?

Upgrade novajoin to 1.1.1 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2019-10138 being exploited?

There is no known exploitation of CVE-2019-10138 in the wild and no public exploit code.

Sources

Also known as GHSA-xf8c-3cgx-fcwm, PYSEC-2019-192, RHBA-2019:0944, RHSA-2019:1728.

Is CVE-2019-10138 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free