Posts

Showing posts with the label PHP

Web Server Hardening - PHP

Image
1. Secure PHP Configuration in php.ini 1.1 OWASP A2:2017 - Broken Authentication  Changing the Session File Path session.save_path="C:\xampp\tmp" 1.2 OWASP A3:2017-Sensitive Data Exposure Error Reporting For Production error_reporting=E_ALL display_errors=Off log_errors=On Disable PHP version output expose_php=Off 1.3 OWASP A5:2017 - Broken Access Control  CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') CWE-639: Authorization Bypass Through User-Controlled Key Disable File Includes allow_url_fopen = Off allow_url_include = Off 1.4 OWASP A6:2017 - Security Misconfiguration Disable Unused PHP Function disable_functions = system, exec, shell_exec, passthru, phpinfo, show_source, popen, proc_open Disable Global Variable register_globals=Off Restrict File Uploads file_uploads...

Popular posts from this blog

Remote Desktop Protocol (RDP) Security

Penetration Testing - Network

Damn Vulnerable Web Services (DVWS) - Walkthrough

Server Message Block (SMB) Security

Offensive Security Testing Guide

Host Configuration Assessment - Windows

Web Server Hardening - Apache Tomcat

Content Page

Mobile Penetration Testing - Android

Penetration Testing with OWASP Top 10 - 2017 A7 Cross-Site Scripting (XSS)