<div dir="ltr">Note the PR only changes the documentation. We need to make sure this is taken care of in the debian packages and the ansible.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 10, 2017 at 1:07 AM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you for the PR and the report,<div><br></div><div>we will also check the package status and update it accordingly if needed.</div><div><br></div><div>Ciao!</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-02-10 1:12 GMT+01:00 Jonathan Doig <span dir="ltr"><<a href="mailto:j.doig@unsw.edu.au" target="_blank">j.doig@unsw.edu.au</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">





<div lang="EN-AU" link="blue" vlink="purple">
<div class="m_1580545956817291700m_-1462984092056574647WordSection1">
<p class="MsoNormal"><span style="color:#1f497d">Thanks Simone for your <a href="https://github.com/GeoNode/geonode/issues/2896#issuecomment-278587461" target="_blank">
response</a> on GitHub.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">I’ve issued a pull request for a change to the manual install doco, removing the uploaded/layers block from /etc/apache2/sites-available/g<wbr>eonode.conf. The same may be needed for other install methods (ansible?
 quick install?).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">There are easily discovered geonode sites out there with this vulnerability. I’ve emailed the admins of a number of sites I found. They need to know they should make this change, especially now that I’ve exposed
 it here :/ <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">I’ve also emailed geonode-users.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Also the upgrade path for existing sites may need some specific instruction to remove this block from the Apache conf.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Jonathan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> geonode-devel
 [mailto:<a href="mailto:geonode-devel-bounces@lists.osgeo.org" target="_blank">geonode-devel-bounces@<wbr>lists.osgeo.org</a>] <b>On Behalf Of </b>Jonathan Doig<br>
<b>Sent:</b> Thursday, 9 February 2017 12:03 PM<br>
<b>To:</b> <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<b>Subject:</b> [GeoNode-devel] Private data is publicly visible<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p style="margin-bottom:0cm;margin-bottom:.0001pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">Hi all<u></u><u></u></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">In Geonode 2.4, all uploaded data can be listed and downloaded from<span class="m_1580545956817291700m_-1462984092056574647apple-converted-space"> </span></span><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><a href="http://%3chost%3e/uploaded/layers" target="_blank">http://<host>/uploaded/la<wbr>yers</a>
</span></code><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">regardless of security permissions.<br>
<br>
This seems to be by design. The<span class="m_1580545956817291700m_-1462984092056574647apple-converted-space"> </span><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html" target="_blank"><span style="color:#4078c0">installation doco</span></a><span class="m_1580545956817291700m_-1462984092056574647apple-converted-space"> </span>says
 to make it all wide open:<u></u><u></u></span></p>
<pre style="background:#f7f7f7;box-sizing:border-box;font-stretch:normal;word-wrap:normal;border-radius:3px;text-align:start;overflow:auto;word-spacing:0px"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">sudo chmod -Rf 777 /home/geonode/geonode/geonode/<wbr>uploaded/thumbs</span></code><code><span style="font-size:9.0pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"><u></u><u></u></span></code></pre>
<pre style="background:#f7f7f7"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">sudo chmod -Rf 777 /home/geonode/geonode/geonode/<wbr>uploaded/layers</span></code><u></u><u></u></pre>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Raised as issue <a href="https://github.com/GeoNode/geonode/issues/2896" target="_blank">
2896</a>.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Removing ‘other’ permission (chmod 770) breaks the upload function.<u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#e36c0a"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#e36c0a">Jonathan Doig</span></b><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f"><u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">Software Engineer – Spatial Systems<u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">City Futures Research Centre<u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">UNSW Built Environment
<u></u><u></u></span></i></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">Level 3, Red Centre West Wing
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">UNSW Sydney<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">NSW 2052 AUSTRALIA<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f">T:<a href="tel:+61%202%209385%205319" value="+61293855319" target="_blank">+ 61 (2) 9385 5319</a> M: 0409 049185<u></u><u></u></span></p>
<p class="MsoNormal"><span><a href="http://cityfutures.be.unsw.edu.au/" target="_blank"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#0563c1">cityfutures.net.au</span></a></span><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:#7f7f7f"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#221e1f"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#221e1f">CRICOS Provider Code 00098G<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#221e1f"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><img border="0" width="751" height="79" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_8" src="cid:image001.png@01D28387.89BDD9F0" alt="01_PARTER LOGOS"></span><span style="font-family:"Arial","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#221e1f">Follow us:
</span><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d"> 
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><a href="http://www.facebook.com/UNSWBE" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_15" src="cid:image002.jpg@01D28387.89BDD9F0" alt="facebookesig"></span></a><a href="http://twitter.com/UNSWBuiltEnv" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_14" src="cid:image003.jpg@01D28387.89BDD9F0" alt="twitteresig"></span></a><a href="http://instagram.com/unswbe" target="_blank"><span style="color:#1f497d;text-decoration:none"><img border="0" width="20" height="20" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_13" src="cid:image004.png@01D28387.89BDD9F0" alt="cid:image013.png@01D1D83D.50C334B0"></span></a><a href="http://plus.google.com/103377744913804443069" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d;text-decoration:none"><img border="0" width="20" height="20" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_12" src="cid:image005.jpg@01D28387.89BDD9F0" alt="Web-Google-plus-Metro-icon-esog"></span></a><a href="http://www.linkedin.com/groups/UNSW-Built-Environment-6616950" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_11" src="cid:image006.jpg@01D28387.89BDD9F0" alt="linkedinesig"></span></a><a href="http://www.flickr.com/photos/unswbuiltenvironment/" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1f497d;text-decoration:none"><img border="0" width="20" height="20" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_10" src="cid:image007.jpg@01D28387.89BDD9F0" alt="flickresig"></span></a><a href="https://www.youtube.com/unswbuiltenvironment" target="_blank"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";text-decoration:none"><img border="0" width="20" height="20" id="m_1580545956817291700m_-1462984092056574647Picture_x0020_9" src="cid:image008.jpg@01D28387.89BDD9F0" alt="youtubeesig"></span></a><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:6.5pt;font-family:"Arial","sans-serif";color:#1f497d">This email and any attachment(s) transmitted with it are intended solely for the use of the addressee(s) and may contain information
 that is confidential or subject to legal privilege. If you receive this email in error, please disregard the contents of the email and attachment(s), delete them and notify the sender immediately. Please note that any copying, distribution or use of this email
 is prohibited. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the view of The University of New South Wales. Before opening any attachments, please check for
 viruses. UNSW ABN 57 195 873 179.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br></div></div>______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-devel</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_1580545956817291700gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br></div>