Bug 52935 - Allow localhost to use UMC session from foreign IP address
Allow localhost to use UMC session from foreign IP address
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Florian Best
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-17 11:05 CET by Florian Best
Modified: 2021-05-25 15:59 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Security
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-03-17 11:05:32 CET
The UMC-Web-Server limits the use of the UMC-Session to the IP address (introduced in Bug #26635, Bug #26637).

There is a check, which also allows a special case for a switch from IPv4 to IPv6 for Apache (by treating ::1 == 127.0.0.1).

We should also allow that requests against 127.0.0.1 / ::1 overtake/use any session.
This is required for the Portal to use the same session for querying the available modules and categories.
Comment 1 Florian Best univentionstaff 2021-03-17 14:58:52 CET
localhost is now allowed to use any session bound to any IP address.

univention-management-console (12.0.9-1)
4e789affb49c | Bug #52935: allow localhost (::1, 127.0.0.1) to use sessions from any IP

ucs-test (10.0.4-33)
4e789affb49c | Bug #52935: allow localhost (::1, 127.0.0.1) to use sessions from any IP

changelog-5.0-0.xml
9a58bb93579e | Changelog Bug #52935
Comment 2 Dirk Wiesenthal univentionstaff 2021-03-21 22:33:14 CET
OK: Portal works
OK: UMC-Restart
OK: Tests
OK: Changelog
Comment 3 Florian Best univentionstaff 2021-05-25 15:59:02 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".