# CVE-2008-3707: Code injection in n/a

> Remote attackers can execute arbitrary PHP code via URL injection in the script_path parameter across multiple CyBoards PHP Lite files.

- **Severity:** High 7.5 (`AV:N/AC:L/Au:N/C:P/I:P/A:P`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 19 Aug 2008
- **Updated:** 7 Aug 2024
- **Also known as:** GHSA-rc27-7vgm-6rx5

## What is CVE-2008-3707?

CVE-2008-3707 is a high-severity code injection vulnerability in n/a, published on 19 Aug 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Multiple PHP remote file inclusion vulnerabilities in CyBoards PHP Lite 1.21 allow remote attackers to execute arbitrary PHP code via a URL in the script_path parameter to (1) flat_read.php, (2) post.php, (3) process_post.php, (4) process_search.php, (5) forum.php, (6) process_subscribe.php, (7) read.php, (8) search.php, (9) subscribe.php in path/; and (10) add_ban.php, (11) add_ban_form.php, (12) add_board.php, (13) add_vip.php, (14) add_vip_form.php, (15) copy_ban.php, (16) copy_vip.php, (17) delete_ban.php, (18) delete_board.php, (19) delete_messages.php, (20) delete_vip.php, (21) edit_ban.php, (22) edit_board.php, (23) edit_vip.php, (24) index.php, (25) lock_messages.php, (26) login.php, (27) modify_ban_list.php, (28) modify_vip_list.php, (29) move_messages.php, (30) process_add_board.php, (31) process_ban.php, (32) process_delete_ban.php, (33) process_delete_board.php, (34) process_delete_messages.php, (35) process_delete_vip.php, (36) process_edit_board.php, (37) process_lock_messages.php, (38) process_login.php, (39) process_move_messages.php, (40) process_sticky_messages.php, (41) process_vip.php, and (42) sticky_messages.php in path/adminopts.  NOTE: the include/common.php vector is covered by CVE-2006-2871.  NOTE: some of these vectors might not be vulnerabilities under proper installation.

Weakness: CWE-94 (Improper Control of Generation of Code)

## Which versions are affected by CVE-2008-3707?

It affects 1 product.


Products: Hotscripts Cyboards Php Lite.

## How do I fix CVE-2008-3707?

No fix has been published for CVE-2008-3707 yet. Limit exposure of the affected software until one is available.

## Is CVE-2008-3707 being exploited?

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

## Other vulnerabilities in n/a

- [CVE-2008-3710](https://insights.sbomify.com/CVE-2008-3710/): Path traversal in n/a (medium 5.1)
- [CVE-2008-3709](https://insights.sbomify.com/CVE-2008-3709/): Cross-site scripting in n/a (medium 4.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2008-3707 and fix it if it is affected.

What it is: CVE-2008-3707 is a high-severity code injection vulnerability in n/a, published on 19 Aug 2008. 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-2008-3707 in the wild and no public exploit code.

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

## Sources

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

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