Multi-layered security mechanisms provided by the EFW framework to protect web applications from various attacks
EFW (Escco-Framework) is a server-side JavaScript Ajax framework designed and developed by Escco Japan Co., Ltd. using a goal-oriented approach, providing multi-layered security protection mechanisms.
EFW framework ensures application security from three dimensions: file security, parameter security, and injection attack protection.
Multi-layered Security Protection - Comprehensive Defense from File Management to Injection Attacks
File leakage refers to a category of security issues where files within a web server are continuously read by attackers on the internet. This is one of the most basic vulnerabilities in web applications. Websites without file leakage protection measures fall into the category of the lowest security level.
Application files and resources are typically stored in web-accessible areas, making them vulnerable to direct access by attackers.
EFW framework defaults to storing application programs and various resources (excluding jsp, css, etc.) in the WEB-INF folder, which is in the web non-public area.
In the original elfinder, home path, read-only flag, etc. can be modified in client-side JavaScript, posing security risks.
EFW's elfinder tag has a protected attribute that makes the home path and read-only flag unchangeable, significantly enhancing security.
Direct file path downloads may lead to unauthorized access and file leakage.
Downloads must start from an event dispatch. Between event execution and download initiation, the download target is stored in the session.
This prevents downloads from being executed solely through client-side JavaScript tampering.
Parameter information leakage refers to vulnerabilities where parameters passed during page transitions cause issues such as unauthorized access to personal information. Although named "information leakage," this category also includes tampering issues such as manipulating parameters for improper low-price shopping on e-commerce sites.
EFW provides a parameter definition check mechanism that verifies whether event parameters obtained from the client match the expected types, preventing server failures caused by client tampering.
Through property file settings, automatic login checks are performed on pages that require authentication and events that require login, preventing information leakage caused by directly entering addresses without logging in.
Through property file settings, automatic role checks are performed on pages viewable only by administrators and events operable only by administrators, preventing information leakage caused by regular users directly entering administrator-only page addresses.
Injection refers to the act of injecting something into the inside. Injection attacks are attack techniques that cleverly mix security-compromising commands into input data that programs normally receive, making them functional inside the computer.
If eval() is used to parse JSON data, malicious code may be executed.
EFW uses JSON.parse() to parse strings sent from the client, preventing JavaScript injection in JSON communication.
If jQuery's html() method is used to directly display data, HTML injection attacks may occur.
EFW utilizes jQuery's val() and text() methods to display return values, preventing HTML injection.
Using string concatenation to build SQL statements may lead to SQL injection attacks.
EFW converts parameters of external SQL into prepared statement-style parameters, preventing SQL injection.
EFW framework provides comprehensive protection for web applications from file management to injection attacks through multi-layered security mechanisms.
Comprehensive prevention of file leakage through non-web public area storage, secure download mechanisms, and enhanced file management tools.
Prevention of parameter tampering and unauthorized access through parameter checks, login checks, and role checks.
Comprehensive prevention of various injection attacks through secure JSON parsing, secure HTML display, and SQL prepared statements.
EFW Framework - Providing Comprehensive Security for Your Web Applications