View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008105 | Kali Linux | Kali Package Bug | public | 2022-12-16 16:02 | 2022-12-19 03:01 |
Reporter | X0RW3LL | Assigned To | arnaudr | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2022.4 | ||||
Fixed in Version | kali-dev | ||||
Summary | 0008105: kali-tweaks 2023.1.0 does not unset unprivileged ports | ||||
Description | kali-tweaks will only set unprivileged port hardening, but fail to unset it The issue is that systemd-sysctl (as far as I understand it) will only take into account the relevant config files found in /etc/sysctl.d in this case So, upon initial configuration, ip_unprivileged_port_start is set to 1024 Suggested mitigation:
A similar fix might also be needed for dmesg-restrict Additionally, there's a typo in the choice description where it reads (Restrict ports > 1024) as opposed to (Restrict ports < 1024) | ||||
Steps To Reproduce |
| ||||
Additional Information |
| ||||
P.s apologies for the horrible Discord formatting |
|
Thanks for the quick feedback! The issue in this case is that the latest version of kali-defaults (2023.1.0) is not yet in kali-rolling. It's stuck in kali-dev, waiting for automatic tests to run, before it can migrate to kali-rolling. This new version of kali-defaults provides the missing sysctl config files in /usr/lib/sysctl.d, and those files define the default values. So it's a packaging issue, I should have been more careful and make kali-tweaks Depend on kali-defaults >= 2023.1.0, my mistake. Sorry that you spend your time on this. Let me see if I can speed up the migration of the package kali-defaults. |
|
No worries at all..I still learned something new, and I like debugging, so that wasn't a waste of time for me at all. |
|
kali-defaults 2023.1.0 is now in kali-rolling. It will take a few hours until it hits the mirrors. Closing this bug then. Thanks again for the report ! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-16 16:02 | X0RW3LL | New Issue | |
2022-12-16 16:25 | X0RW3LL | Note Added: 0017248 | |
2022-12-16 22:58 | Gamb1t | Assigned To | => arnaudr |
2022-12-16 22:58 | Gamb1t | Status | new => assigned |
2022-12-19 02:32 | arnaudr | Note Added: 0017254 | |
2022-12-19 02:38 | X0RW3LL | Note Added: 0017255 | |
2022-12-19 03:01 | arnaudr | Note Added: 0017256 | |
2022-12-19 03:01 | arnaudr | Status | assigned => resolved |
2022-12-19 03:01 | arnaudr | Resolution | open => fixed |
2022-12-19 03:01 | arnaudr | Fixed in Version | => kali-dev |