Editing
Ov.430.ch Host Reconnaissance Report
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Medium Priority === ==== Add HSTS ==== Finding: * HSTS is not configured. Recommended Caddy header: <pre> header Strict-Transport-Security "max-age=31536000; includeSubDomains" </pre> Use a shorter rollout first if desired: <pre> header Strict-Transport-Security "max-age=86400" </pre> ==== Reduce version disclosure ==== Finding: Headers expose: <pre> Server: Caddy Server: Apache/2.4.67 (Debian) X-Powered-By: PHP/8.3.32 </pre> Recommendation: * Remove <code>X-Powered-By</code> in PHP/Apache configuration. * Do not rely on header hiding for security, but reduce unnecessary precise version hints. ==== Review MediaWiki anonymous permissions ==== Finding: * Public API exposes users, groups, recent changes, siteinfo, versions, and extensions. * The page config has indicated anonymous editability in previous HTML checks. Recommendation: If <code>ov.430.ch</code> should be public-editable, leave this alone but monitor abuse. If not: <pre> $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['writeapi'] = false; </pre> Also review upload settings, because <code>maxuploadsize</code> is <code>104857600</code>. ==== Add firewall policy ==== Finding: <pre> INPUT ACCEPT DOCKER-USER -j RETURN </pre> Recommendation: * Define an explicit host firewall policy. * Use <code>DOCKER-USER</code> for Docker-published ports, since Docker inserts NAT/filter rules. * Permit only intended public services: ** <code>22/tcp</code> if SSH must be public ** <code>80/tcp</code> ** <code>443/tcp</code> ** <code>443/udp</code> if HTTP/3 is desired ** Mindustry ports if desired
Summary:
Please note that all contributions to Marcopedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Marcopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information
Online users in chat