High · published December 12, 2025
⚡ An OS Command Injection vulnerability in Ruijie X30-PRO could let attackers run arbitrary commands with just a crafted POST request — that's like a rogue chef taking control of the kitchen! 🔥 Picture a restaurant where the kitchen accepts orders without checking the menu. If a mischievous customer sends in a bizarre request, they might end up sizzling something totally unexpected! In this case, the vulnerable lua script is the chef who doesn’t verify the authenticity of the ingredients before cooking. An attacker exploiting this vulnerability could execute any command they wish, potentially compromising the device entirely — think of it as someone sneaking into the restaurant and swapping the chef's signature dish for a disaster. Full control over the device opens the door to unauthorized data access, system tampering, or even network breaches.
Picture a restaurant where the kitchen accepts orders without checking the menu. If a mischievous customer sends in a bizarre request, they might end up sizzling something totally unexpected! In this case, the vulnerable lua script is the chef who doesn’t verify the authenticity of the ingredients before cooking. This vulnerability allows attackers to execute arbitrary commands through unsanitized inputs in a crafted POST request targeted at the module_set function within the specified lua script (nbr_cwmp.lua). This oversight means the system trusts inputs that should be tightly controlled.
An attacker exploiting this vulnerability could execute any command they wish, potentially compromising the device entirely — think of it as someone sneaking into the restaurant and swapping the chef's signature dish for a disaster. Full control over the device opens the door to unauthorized data access, system tampering, or even network breaches. To mitigate this issue, patch your Ruijie X30-PRO to the latest version as soon as it's available. Additionally, implement input validation and sanitization to ensure that only legitimate commands are executed. Monitoring incoming requests for suspicious patterns can also help catch any attempted exploitation in real-time. You've got this! Just follow these steps, and you'll have your systems secured in no time! 🛡️
| Product | Versions | Fixed in |
|---|---|---|
| ruijie/x30_pro_firmware | all versions | — |
| ruijie/rg-est310_firmware | all versions | — |