Frogman: Dialplan template parameters interpolated into extensions_custom.conf without escaping
mwtcmi frogman
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mwtcmi frogman |
| No fix yet |
Original description
Frogman provides headless PBX control through MCP and HTTP API. Prior to 1.6.2, fm_dialplan_apply accepted template parameters including greeting, dest, url, extension, code, and file, and Tools/DialplanApply.php wrote Dialplan/Templates.php output to extensions_custom.conf while only Dialplan/TemplateBase.php:38-42 sanitized contextName(), allowing a PERM_WRITE caller using confirm:true to inject arbitrary Asterisk directives such as System(), Set(SHELL(...)), Goto, or Macro. This issue is fixed in version 1.6.2.
From the CVE record · GitHub_M