diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2022-03-15 23:42:53 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2022-03-20 15:34:17 +0100 |
commit | 30ae198b898a987e0d934a0e049cc6811f500475 (patch) | |
tree | 36c8ec145df293eb7f55394687a72466410ccbde /util | |
parent | 1beadfc6e769cfe21d6c3d6c13f7db29210e40fb (diff) | |
download | volse-hubzilla-30ae198b898a987e0d934a0e049cc6811f500475.tar.gz volse-hubzilla-30ae198b898a987e0d934a0e049cc6811f500475.tar.bz2 volse-hubzilla-30ae198b898a987e0d934a0e049cc6811f500475.zip |
CVE-2022-27257: LFI in Redbasic theme.
Limit valid chars in schema names, and discard attempts at loading
schemas with invalid names.
This prevents a local file inclusion vulnerability where an
unauthenticated attacker can include arbitrary php files readable by the
server process and potentially obtain remote code execution.
Valid schema names may consist of ascii letters, numbers, hyphens and
underscores. Should be good enough for most cases, I think.
Fixes https://framagit.org/hubzilla/core/-/issues/1665
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions