CVE-2018-15747

The default configuration of glot-www through 2018-05-19 allows remote attackers to execute arbitrary code because glot-code-runner supports os.system within a…

published June 21, 2019

CVSS
—
EPSS
4%
Percentile
89.3
In the wild
Unconfirmed
What it is

🚨 A default configuration could let attackers run any command they want! The glot-code-runner has a sneaky way of executing code through innocent-looking JSON files. 🔥 Think of it as a restaurant where the chef blindly follows any order without checking the menu. If a malicious diner makes an outrageous request, the chef cooks it up without question! This vulnerability could allow attackers to execute arbitrary commands on the server, potentially leading to complete control over the system. Imagine an intruder not just reading the menu but changing the entire recipe book—or worse, sabotaging the kitchen!

Put simply

Think of it as a restaurant where the chef blindly follows any order without checking the menu. If a malicious diner makes an outrageous request, the chef cooks it up without question! The glot-code-runner, in its default setup, allows the execution of os.system commands through the 'content' field in a 'python' JSON file. This means any attacker who knows how to craft a JSON payload could run commands as if they were part of the server.

What to do

This vulnerability could allow attackers to execute arbitrary commands on the server, potentially leading to complete control over the system. Imagine an intruder not just reading the menu but changing the entire recipe book—or worse, sabotaging the kitchen! To secure your system, you should review and modify the default configuration of glot-www to disable os.system functionality. It's also wise to audit any JSON file handling to ensure it doesn't accept arbitrary commands. Keeping your deployment updated will help mitigate risks! You've got this! With a few adjustments, you can fortify your system and ensure it runs smoothly. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03598 · 89.3th percentile
Published
2019-06-21T13:06Z
EPSS history
Timeline
  • 21 JUN 13:06Z
    The default configuration of glot-www through 2018-05-19 allows remote attackers to execute arbitrary code because glot-code-runner supports os.system within a…
    cvelistv5