ClearFoundation Tracker - ClearOS
View Issue Details
0000070ClearOSclearos-frameworkpublic2010-04-08 20:572010-07-20 12:42
bchambers 
 
normalminoralways
closedfixed 
5.1 
5.25.2 
0000070: Selecting root or user password with < or > characters prevents webconfig login
< and > are valid characters for a password that can be used to select the root password during installation and (possibly, not verified) used when creating user accounts or resetting a password.

/var/webconfig/gui/Webconfig.inc.php has a "WebCheckFormVariables" method which barfs "Invalid form variable" when it sees a < or >.

This makes logging into webconfig impossible.
To duplicate, set root password to something like:

bob>123

using passwd utility.

Then, try logging to webconfig as root.
No tags attached.
related to 0000012closed user2 Invalid character using asterisk 
Issue History
2010-04-08 20:57bchambersNew Issue
2010-04-10 11:12user2Relationship addedrelated to 0000012
2010-04-10 11:12user2Severitymajor => minor
2010-04-10 11:12user2Statusnew => confirmed
2010-04-29 12:34user2Checkin
2010-04-29 12:34user2Note Added: 0000098
2010-04-29 12:35user2Note Deleted: 0000098
2010-06-09 11:49user2Checkin
2010-06-09 11:49user2Note Added: 0000174
2010-06-09 11:49user2Statusconfirmed => resolved
2010-06-09 11:49user2Resolutionopen => fixed
2010-06-09 11:50user2Fixed in Version => 5.2
2010-06-09 11:50user2Target Version => 5.2
2010-07-20 12:42user2Statusresolved => closed

Notes
(0000174)
user2   
2010-06-09 11:49   
Source Code Changelog
---------------------------------------------------
- Created a workaround for basic XSS check and logins [fixed tracker 0000070]

File Changes
---------------------------------------------------
U legacy/webconfig/trunk/gui/Webconfig.inc.php