Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information Disclosure Vulnerability #29

Open
guizzo opened this issue Aug 12, 2024 · 0 comments
Open

Information Disclosure Vulnerability #29

guizzo opened this issue Aug 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@guizzo
Copy link

guizzo commented Aug 12, 2024

Le response del backend trasmettono in chiaro informazioni sensibili che invece dovrebbero venire mascherate.

Leggendo infatti i response headers di un qualsiasi endpoint (anche quelli non protetti da JWT) è possibile ottenere informazioni riguardanti le tecnologie utilizzate dal backend.

Nel seguente esempio viene infatti indicato l'utilizzo di NGINX come proxy server (v1.14.0) su una macchina avente come os Ubuntu.

Consiglio quantomeno di impostare/attivare il flag server_tokens off; lato NGINX agendo sul file nginx.conf (solitamente esposto al path /etc/nginx/nginx.conf)

Screenshot 2024-08-12 alle 09 53 44

@storrisi storrisi added the enhancement New feature or request label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants