CVE-2022-31683 Team scope authorization bypass when Post/Put request with :team_name in body, allows HTTP parameter pollution
Attackers can bypass team scope checks to access resources belonging to other teams in Concourse CI.
- 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-2022-31683?
CVE-2022-31683 is a medium-severity authentication bypass vulnerability in Concourse, published on 19 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Concourse (7.x.y prior to 7.8.3 and 6.x.y prior to 6.7.9) contains an authorization bypass issue. A Concourse user can send a request with body including :team_name=team2 to bypass team scope check to gain access to certain resources belong to any other team.
Weakness: CWE-639
Which versions are affected by CVE-2022-31683?
5 open source packages ship an affected version, including github.com/concourse/concourse and concourse. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/concourse/concourse Go | All versions | 6.7.9 |
github.com/concourse/concourse Go | All versions | 6.7.9 |
github.com/concourse/concourse Go | From 7.0.0 | 7.8.3 |
github.com/concourse/concourse Go | From 7.0.0 | 7.8.3 |
concourse Bitnami | From 6.0.0 | 6.7.9, 7.8.3 |
Products include Pivotal Software Concourse.
How do I fix CVE-2022-31683?
Upgrade github.com/concourse/concourse to a fixed version for your release line: 6.7.9 or 7.8.3.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2022-31683 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31683 exists.
Other vulnerabilities in Concourse
- CVE-2020-5415 Concourse's GitLab auth allows impersonation
- CVE-2020-5409 Concourse Open Redirect in the /sky/login endpoint
- CVE-2018-15798 Pivotal Concourse allows malicious redirect urls on login
- CVE-2018-1227 Supply chain in Concourse CI: As of 2018-03-13, Pivotal does not believe that any resources or builds of Concourse have been compromised.
- CVE-2019-3792 Concourse 5.0.0 SQL Injection vulnerability
Sources
Also known as BIT-concourse-2022-31683, GHSA-5jp2-vwrj-99rf.