Bug 39438 - MRTG graphics are visible to everyone knowing the deep link
MRTG graphics are visible to everyone knowing the deep link
Status: CLOSED DUPLICATE of bug 45192
Product: UCS
Classification: Unclassified
Component: Maintenance/MRTG (univention-maintenance)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: Florian Best
Jannik Ahlers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-29 22:36 CEST by Michael Grandjean
Modified: 2021-04-14 14:06 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Security Issue
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?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2015-09-29 22:36:45 CEST
Observed behaviour:
* http(s)://<fqdn-of-your-ucs>/statistic/ requires authentication
* http(s)://<fqdn-of-your-ucs>/statistic/ucs_0load-day.png does NOT require authentication

Expected behaviour:
* Everything under http(s)://<fqdn-of-your-ucs>/statistic/ requires authentication since this might be considered sensitive information


Caused by:
/var/www/statistic/.htaccess:

> SetenvIf Request_URI "(statistik/ucs.*\.png)$" allow
> SetenvIf Request_URI "(statistic/ucs.*\.png)$" allow

So all PNG files are readable by everyone. This goes back to Bug #22513 - is it still true that protecting the PNG files would break the UMC module?
Comment 1 Florian Best univentionstaff 2015-10-22 10:03:31 CEST
We could move the serving of the file into the module backend (which doesn't yet exists). Then they aren't delivered by apache anymore and the files are only accessible via UMC ACL's.
Comment 2 Florian Best univentionstaff 2017-06-28 14:53:10 CEST
There is a Customer ID set so I set the flag "Enterprise Customer affected".
Comment 3 Florian Best univentionstaff 2017-11-01 17:30:09 CET

*** This bug has been marked as a duplicate of bug 45192 ***
Comment 4 Florian Best univentionstaff 2017-11-01 17:31:15 CET
@Jannik: Please verify that this bug is a duplicate of Bug #45192.