# CVE-2023-32993: Jenkins SAML Single Sign On(SSO) Plugin missing hostname validation

> Attackers can intercept SAML metadata connections via man-in-the-middle attacks due to missing hostname validation in the Jenkins SAML SSO Plugin.

- **Severity:** Medium 4.8 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 16 May 2023
- **Updated:** 23 Jan 2025
- **Also known as:** GHSA-6v6h-rw43-97fh

## What is CVE-2023-32993?

CVE-2023-32993 is a medium-severity vulnerability in Jenkins SAML Single Sign On(SSO) Plugin, published on 16 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Jenkins SAML Single Sign On(SSO) Plugin 2.0.2 and earlier does not perform hostname validation when connecting to miniOrange or the configured IdP to retrieve SAML metadata, which could be abused using a man-in-the-middle attack to intercept these connections.

Weakness: CWE-345 (Insufficient Verification of Data Authenticity), CWE-346 (Origin Validation Error)

## Which versions are affected by CVE-2023-32993?

2 open source packages ship an affected version, including io.jenkins.plugins:miniorange-saml-sp. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `io.jenkins.plugins:miniorange-saml-sp` | Maven | All versions | 2.1.0 |
| `io.jenkins.plugins:miniorange-saml-sp` | Maven | All versions | 2.1.0 |

Products: Jenkins Saml Single Sign On.

## How do I fix CVE-2023-32993?

Upgrade io.jenkins.plugins:miniorange-saml-sp to 2.1.0 or later.

## Is CVE-2023-32993 being exploited?

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

## Other vulnerabilities in Jenkins SAML Single Sign On(SSO) Plugin

- [CVE-2023-32991](https://insights.sbomify.com/CVE-2023-32991/): Jenkins SAML Single Sign On(SSO) Plugin Cross-Site Request Forgery vulnerability (high 8.8)
- [CVE-2023-32992](https://insights.sbomify.com/CVE-2023-32992/): Jenkins SAML Single Sign On(SSO) Plugin missing permission checks (high 8.8)
- [CVE-2023-32995](https://insights.sbomify.com/CVE-2023-32995/): Jenkins SAML Single Sign On(SSO) Plugin Cross-Site Request Forgery vulnerability (high 8.8)
- [CVE-2023-37945](https://insights.sbomify.com/CVE-2023-37945/): Jenkins SAML Single Sign On(SSO) Plugin missing permission check (medium 4.3)
- [CVE-2023-32994](https://insights.sbomify.com/CVE-2023-32994/): Jenkins SAML Single Sign On(SSO) Plugin unconditionally disables SSL/TLS certificate validation (low 3.7)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-32993 and fix it if it is affected.

What it is: CVE-2023-32993 is a medium-severity vulnerability in Jenkins SAML Single Sign On(SSO) Plugin, published on 16 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-32993 in the wild and no public exploit code.

Affected packages and fixed versions:
- io.jenkins.plugins:miniorange-saml-sp (Maven): affected all versions; fixed in 2.1.0
- io.jenkins.plugins:miniorange-saml-sp (Maven): affected all versions; fixed in 2.1.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-32993/ (Markdown: https://insights.sbomify.com/CVE-2023-32993/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-32993
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-32993
- OSV: https://osv.dev/vulnerability/CVE-2023-32993

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-32993/
Summaries are generated and may contain mistakes; the official description above is the record.
