Actions
Bug #9061
closedPowerD command parameter validation and escaping
Start date:
10/23/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All
Description
The powerd parameters powerd_ac_mode
, powerd_battery_mode
, and powerd_normal_mode
are not validated against the list of expected mode strings in /usr/local/www/system_advanced_misc.php
. They are also not escaped before use when invoking the powerd
command inside activate_powerd()
from /etc/inc/system.inc
.
This can lead to an authenticated command injection for users with access to that page.
Actions