Hello There,
We are currently running Sonatype Nexus Repository version 3.69.0 as a Docker container.
During a recent security review, we observed that the robots.txt file is publicly accessible via:
https:///robots.txt
We are aware of the CVE-2024-4956 advisory, which was mitigated in versions after 3.68.0. However, we are seeking clarification on whether the presence and accessibility of robots.txt in our current version (3.69.0) poses any residual risk.
Our observations are
The file is accessible over the internet, but it does not exist in the /public directory of the Nexus container.
The contents of the file are:
User-agent: *
Disallow: /repository/
Disallow: /service/
Allow: /
Our doubts are
Is the presence of robots.txt in version 3.69.0 expected behaviour?
Does this file get served by default from another location in newer versions?
Is there any security implication or exploitability associated with this file in version 3.69.0?
Should we take any additional steps to restrict access to this file?
Any clarification or guidance would be greatly appreciated.
Regards,
SAM