Vincent Li
0e302b1efc
firewall.cgi: Fixes XSS potential
...
commit 21539d63dfcb15f186309b3107f63d455e4008ea
Author: Adolf Belka <adolf.belka@ipfire.org >
Date: Thu Oct 2 13:10:15 2025 +0200
firewall.cgi: Fixes XSS potential
- Related to CVE-2025-50975
- Fixes PROT
- ruleremark was already escaped when firewall.cgi was initially merged back in Core
Update 77.
- SRC_PORT, TGT_PORT, dnaport, src_addr & tgt_addr are already validated in the code as
ports or port ranges.
- std_net_tgt is a string defined in the code and not a variable
- The variable key ignores any input that is not a digit and subsequently uses the next
free rulenumber digit
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Vincent Li <vincent.mc.li@gmail.com >
2025-10-03 18:09:01 +00:00
..
2022-04-23 19:36:57 +00:00
2024-10-09 00:34:07 +00:00
2022-07-06 10:01:50 +00:00
2022-02-18 23:54:57 +00:00
2023-05-11 20:07:13 +00:00
2022-04-23 19:35:37 +00:00
2022-02-18 23:54:57 +00:00
2023-11-24 13:13:16 +00:00
2022-02-18 23:54:57 +00:00
2021-02-15 13:13:54 +00:00
2024-09-10 03:03:22 +00:00
2021-07-07 09:34:31 +00:00
2024-06-15 02:14:22 +00:00
2024-07-09 01:47:46 +00:00
2022-04-23 19:35:37 +00:00
2022-02-18 23:54:57 +00:00
2023-10-01 08:16:17 +00:00
2021-07-09 12:56:17 +00:00
2025-10-03 18:09:01 +00:00
2025-07-04 03:31:02 +00:00
2023-03-13 21:37:39 +00:00
2022-02-18 23:54:57 +00:00
2021-06-10 14:30:53 +01:00
2021-06-10 14:30:53 +01:00
2024-11-06 19:09:21 +00:00
2021-09-05 08:32:17 +00:00
2022-02-18 23:54:57 +00:00
2022-04-26 05:24:47 +02:00
2025-07-04 03:48:54 +00:00
2023-03-11 16:27:32 +00:00
2021-04-08 10:11:34 +00:00
2022-02-18 23:54:57 +00:00
2024-07-13 02:14:41 +00:00
2024-07-05 21:46:07 +00:00
2024-10-13 20:59:48 +00:00
2024-08-25 16:41:31 +00:00
2024-08-25 16:41:31 +00:00
2024-08-25 16:41:31 +00:00
2022-02-18 23:54:57 +00:00
2023-03-04 14:05:42 +00:00
2021-06-17 20:11:37 +00:00
2022-04-24 19:08:34 +00:00
2021-09-05 08:32:17 +00:00
2014-06-06 10:45:59 +02:00
2022-02-18 23:54:57 +00:00
2021-06-10 14:33:57 +01:00
2022-02-18 23:54:57 +00:00
2021-09-05 08:32:17 +00:00
2022-04-23 19:35:37 +00:00
2022-04-23 19:35:37 +00:00
2022-04-23 19:35:37 +00:00
2024-02-07 11:02:18 +00:00
2023-09-28 09:33:21 +00:00
2022-07-28 13:44:29 +00:00
2022-12-17 17:20:46 +00:00
2024-01-08 18:34:58 +00:00
2022-04-04 18:09:29 +00:00
2024-03-16 03:26:26 +00:00
2022-02-18 23:54:57 +00:00
2023-08-07 09:21:52 +00:00
2023-02-09 16:39:34 +00:00
2021-09-02 09:11:50 +00:00
2022-02-18 23:54:57 +00:00
2021-09-05 08:32:17 +00:00
2022-02-18 23:54:57 +00:00
2023-12-04 22:32:43 +00:00
2023-03-11 16:29:43 +00:00
2023-03-11 16:30:39 +00:00
2023-09-28 09:39:26 +00:00
2024-02-07 11:08:51 +00:00
2023-08-15 16:48:55 +00:00
2022-04-24 19:13:51 +00:00
2022-02-18 23:54:57 +00:00
2023-05-18 09:47:46 +00:00
2023-05-18 09:47:46 +00:00
2025-07-20 23:40:09 +00:00
2022-02-18 23:54:57 +00:00
2022-02-21 20:56:01 +00:00
2021-09-24 09:31:52 +00:00
2024-10-05 23:17:26 +00:00
2024-10-22 18:48:33 +00:00
2022-02-18 23:54:57 +00:00