CVE-2025-31340 Wisdom Master Pro - Improper Control of Filename for Include/Require Statement in PHP Program
Remote attackers can execute arbitrary system commands via improper filename control in the course information retrieval function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-31340?
CVE-2025-31340 is a critical code injection vulnerability in SUNNET Technology Co., Ltd. Wisdom Master Pro, published on 17 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A improper control of filename for include/require statement in PHP program vulnerability in the retrieve course Information function of Wisdom Master Pro versions 5.0 through 5.2 allows remote attackers to perform arbitrary system commands by running a malicious file.
Weakness: CWE-98
Which versions are affected by CVE-2025-31340?
How do I fix CVE-2025-31340?
No fix has been published for CVE-2025-31340 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-31340 being exploited?
There is no known exploitation of CVE-2025-31340 in the wild and no public exploit code.
Sources
Also known as GHSA-573j-p665-w834.