Opened 3 years ago
Closed 11 months ago
#5850 closed defect (fixed)
Security issue: GUI file access, protected config values, and mods
Reported by: | wraitii | Owned by: | Silier |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 27 |
Component: | Core engine | Keywords: | |
Cc: | Patch: | Phab:D4617 |
Description
As discussed on IRC.
We have protected config entries that can't be used by JS, such as userreport.id
. However, the gui can just `Engine.ReadFile('config/user.cfg') and get that data anyways.
Further, WriteJSONFile can overwrite any file.
These all seem like problems, particularly since we do prevent some access in the simulation ReadJSONFile for example.
Change History (6)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Milestone: | Alpha 24 → Alpha 25 |
---|
comment:3 by , 2 years ago
Milestone: | Alpha 25 → Alpha 26 |
---|
comment:5 by , 15 months ago
Patch: | → Phab:D4617 |
---|
Note:
See TracTickets
for help on using tickets.
[16:55:07] <elexis> (https://trac.wildfiregames.com/ticket/5850 see also https://wildfiregames.com/forum/topic/24722-improving-mod-security/ or some commit / revision proposals where the same issue appeared with modifying a config value without protection)