Open Reedus0 opened 11 months ago
Allowing users to write arbitrary code causes shell command execution.
import os
os.system("whoami")
### C/C++
int main() {
system("whoami"); return 0;
}
# Impact This vulnerability can cause sensitive data exposure for example AWS secret keys and tokens could be exposed. Java language is also affected by this vulnerability.
Thanks for bringing it to my notice.
Description
Allowing users to write arbitrary code causes shell command execution.
Proof of concept
Python
os.system("whoami")
include
include
int main() {
}