[Commotion-admin] [commotion-bug-info] Remote code execution in commotion debug helper (Medium) (#2)

areynold notifications at github.com
Mon Sep 9 15:25:38 UTC 2013


Parameters in form displayed on Commotion Debug Helper page are not sanitized when passed to OS command execution, which allows for arbitrary command  execution. However, page is accessible to node admin only and requires the presence of session token, so the impact of this vulnerability is limited.

https://github.com/opentechinstitute/commotion-bug-info/blob/3fb4acddcedaacd8b20768b93a1eef1f5c034f8f/luasrc/controller/debugger.lua#L31-L43

This vulnerability allows for OS code execution by modifying name,
contact, whatYouDo, behaviorExpected and badBehavior parameters.
Similar vulnerability exists within buginfo parameter value which is
being passed to another OS command:

https://github.com/opentechinstitute/commotion-bug-info/blob/3fb4acddcedaacd8b20768b93a1eef1f5c034f8f/luasrc/controller/debugger.lua#L45-L55

Originally reported as WRT-01-004

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-bug-info/issues/2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20130909/31a8c88b/attachment.html>


More information about the Commotion-admin mailing list