High 7.7

BioStar 2 leaks AD service credentials (CVE-2026-31278) [PoC]

CVE-2026-31278

By Yazoul AI · automated

CVE-2026-31278: Suprema BioStar 2 before 2.9.12 and BioStar X before 1.0.2 leak Active Directory service account credentials via a crafted GET request. Update to 2.9.12 or 1.0.2.

Exploitation confirmed - public proof-of-concept - CVE-2026-31278 is a high-severity credential exposure in Suprema BioStar 2 before 2.9.12 and BioStar X before 1.0.2 that lets an attacker with low privileges retrieve Active Directory service account credentials in cleartext. Suprema has released fixed builds; upgrade immediately.

Overview

BioStar 2 and BioStar X are access control and identity management platforms used to manage door controllers, biometric readers, and integrated identity workflows across corporate and government facilities. Both products integrate with Active Directory so administrators can sync users, groups, and permissions from the domain.

CVE-2026-31278 lives in the /api/v2/setting/adserversetting endpoint. An attacker who can reach that endpoint and holds even a low-privileged account can send a crafted GET request and receive the Active Directory service account username and password back in plain response body. There is no encryption, hashing, or masking applied to the response. The credentials are exposed exactly as the BioStar application stores them for its AD sync service.

Impact

The leaked account is not a normal user. It is the service account BioStar uses to bind to Active Directory, query the directory, and synchronize identity data. In most deployments that account has broad read rights across the domain and, depending on configuration, delegated write or password reset permissions.

An attacker who obtains these credentials can:

  • Authenticate to Active Directory as the service account and enumerate every user, group, and computer object.
  • Pivot to other systems that trust the same domain or reuse the credentials.
  • Modify or delete directory objects if the account has write delegation.
  • Maintain persistent access even after the BioStar application is patched, because the credential itself has been stolen.

Because the account is a service identity, it is often excluded from interactive logon monitoring and may not trigger the same alerts as a compromised user account. That makes post-exploitation activity harder to detect.

Remediation and Mitigation

  1. Update BioStar 2 to 2.9.12 or later, and BioStar X to 1.0.2 or later. These builds fix the endpoint so it no longer returns credentials.
  2. Rotate the Active Directory service account password immediately after patching. Assume any credential reachable through this endpoint before the fix has been exposed.
  3. Audit Active Directory for logon activity from that service account outside expected BioStar hosts and time windows.
  4. Restrict network access to the BioStar API. Place the management interface behind a VPN or an allowlisted reverse proxy rather than exposing it to the corporate LAN or the internet.
  5. Apply least privilege to the AD service account. Remove write delegation and password reset rights unless a specific integration requires them.

There is no indication this vulnerability is being exploited in the wild. Treat the exposure as a potential risk and prioritize credential rotation, since stolen service credentials outlive the patch.

Security Insight

Access control platforms are a high-value target because they sit at the intersection of physical security and enterprise identity. A single configuration endpoint that echoes back a domain service account turns a low-privileged foothold into domain-wide reconnaissance with no exploitation skill required. This follows a familiar pattern seen in LangChain and LangGraph flaws that exposed files and secrets and the iOS flaw that let the FBI recover deleted Signal messages: secrets stored for integration convenience become the weakest link. Vendors that hold identity credentials on behalf of customers should treat those secrets as crown jewels and never return them in API responses.

Related reading: Apple Fixes WebKit Vulnerability Enabling Same-Origin Policy Bypass.

Further Reading

Share:

Never miss a critical vulnerability

Get real-time security alerts delivered to your preferred platform.

Public PoC References

Unverified third-party code

These repositories are publicly listed on GitHub and have not been audited by Yazoul Security. They may contain malware, backdoors, destructive payloads, or operational security risks (telemetry, exfiltration). Treat them as hostile binaries. Inspect source before execution. Run only in isolated, disposable lab environments (offline VM, no credentials, no production data).

Authorized use only. This information is provided for defensive research, detection engineering, and patch validation. Using exploit code against systems you do not own or do not have explicit written permission to test is illegal in most jurisdictions and violates Yazoul's terms of use.

Repository Stars
mda1r/CVE-2026-31278

CVE write-up for Active Directory credential exposure vulnerability in Suprema BioStar 2

★ 0

Showing 1 of 1 known references. Source: nomi-sec/PoC-in-GitHub.

Related Advisories

Never Miss a Critical Alert

CVE advisories, breach reports, and threat intel — delivered daily to your inbox.