# CVE-2006-6899: Missing authorization in n/a

> Remote attackers can hijack Bluetooth HID devices by exploiting a configuration flaw in the BlueZ hidd daemon, requiring specific endpoint setups.

- **Severity:** Medium 5.4 (`AV:A/AC:M/Au:N/C:P/I:P/A:P`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 8 Jan 2007
- **Updated:** 7 Aug 2024
- **Also known as:** GHSA-3c54-jw9j-cwjh, RHSA-2007:0065

## What is CVE-2006-6899?

CVE-2006-6899 is a medium-severity missing authorization vulnerability in n/a, published on 8 Jan 2007. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

hidd in BlueZ (bluez-utils) before 2.25 allows remote attackers to obtain control of the (1) Mouse and (2) Keyboard Human Interface Device (HID) via a certain configuration of two HID (PSM) endpoints, operating as a server, aka HidAttack.

Weakness: CWE-16

## Which versions are affected by CVE-2006-6899?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `bluez-utils` | Red Hat:enterprise_linux:4::as | All versions | 0:2.10-2.2 |
| `bluez-utils-cups` | Red Hat:enterprise_linux:4::as | All versions | 0:2.10-2.2 |
| `bluez-utils-debuginfo` | Red Hat:enterprise_linux:4::as | All versions | 0:2.10-2.2 |
| `bluez-utils` | Red Hat:enterprise_linux:4::desktop | All versions | 0:2.10-2.2 |
| `bluez-utils-cups` | Red Hat:enterprise_linux:4::desktop | All versions | 0:2.10-2.2 |
| `bluez-utils-debuginfo` | Red Hat:enterprise_linux:4::desktop | All versions | 0:2.10-2.2 |
| `bluez-utils` | Red Hat:enterprise_linux:4::es | All versions | 0:2.10-2.2 |
| `bluez-utils-cups` | Red Hat:enterprise_linux:4::es | All versions | 0:2.10-2.2 |
| `bluez-utils-debuginfo` | Red Hat:enterprise_linux:4::es | All versions | 0:2.10-2.2 |
| `bluez-utils` | Red Hat:enterprise_linux:4::ws | All versions | 0:2.10-2.2 |
| `bluez-utils-cups` | Red Hat:enterprise_linux:4::ws | All versions | 0:2.10-2.2 |
| `bluez-utils-debuginfo` | Red Hat:enterprise_linux:4::ws | All versions | 0:2.10-2.2 |

Products: Bluez Project Bluez.

## How do I fix CVE-2006-6899?

Upgrade to a fixed version.

## Is CVE-2006-6899 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-6899 exists.

Public exploit code:

- BlueZ 1.x/2.x - HIDD Bluetooh HID Command Injection (exploitdb)

## Other vulnerabilities in n/a

- [CVE-2016-9918](https://insights.sbomify.com/CVE-2016-9918/): Denial of service in n/a (high 7.5)
- [CVE-2005-2547](https://insights.sbomify.com/CVE-2005-2547/): Command injection in n/a (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2006-6899 and fix it if it is affected.

What it is: CVE-2006-6899 is a medium-severity missing authorization vulnerability in n/a, published on 8 Jan 2007. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-6899 exists.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

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-2006-6899/ (Markdown: https://insights.sbomify.com/CVE-2006-6899/index.md)
```

## Sources

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

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