Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22130 - [mediatomb] default configuration of MediaTomb exposes filesystem to network
Attached to Project:
Community Packages
Opened by Dietrich Epp (depp1) - Friday, 17 December 2010, 15:40 GMT
Last edited by Jonathan Conder (PirateJonno) - Monday, 27 December 2010, 00:48 GMT
Opened by Dietrich Epp (depp1) - Friday, 17 December 2010, 15:40 GMT
Last edited by Jonathan Conder (PirateJonno) - Monday, 27 December 2010, 00:48 GMT
|
DetailsDescription:
Installed MediaTomb per instructions on the wiki. Default configuration leaves entire file system accessible to anyone on the network. Granted, this only includes files accessible by all, but these files should not be readable to people that do not have system accounts. According to bug reporting guidelines, since this is an "exploitable security issue in either a core or outward-facing service package", it is marked critical. I wouldn't mind if the package were in AUR, but I'd expect packages in community not to expose my filesystem to everyone on the network. Additional info: Package version is mediatomb 0.12.1-2 Steps to reproduce: 1. Install mediatomb: "pacman -S mediatomb" 2. Make missing config directory (unrelated bug): "mkdir /var/lib/mediatomb/.mediatomb" 3. Run mediatomb: "/etc/rc.d/mediatomb start" (Note: this creates a default configuration file. You can view it at "/var/lib/mediatomb/.mediatomb/config.xml".) 4. From another computer, open port 50500 in a web browser 5. Select "Filesystem" > "etc", click on the "+" next "passwd" file. 6. Select "Database" > "PC Directory" > "etc", click on "passwd" You have now downloaded the "/etc/passwd" file. Thank goodness for shadow passwords. |
This task depends upon
Closed by Jonathan Conder (PirateJonno)
Monday, 27 December 2010, 00:48 GMT
Reason for closing: None
Additional comments about closing: Added a warning for the security-conscious
Monday, 27 December 2010, 00:48 GMT
Reason for closing: None
Additional comments about closing: Added a warning for the security-conscious
I don't agree with depp1, but IMHO you should add a post_install/post_upgrade message that says to people to fix their configs.
@BaSh: Fair enough. I think instead I will disable the web interface by default and have a message to tell people to enable with care.