network enabled verified low v1.0.0

apache2

Apache HTTP server that can be used for file read operations via configuration directives.

📋 Live Preview
apache2 {f} {C}
๐Ÿ“Ž f ๐Ÿ“Ž C
apache2 {f} {C}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read
network.http.server
network.http.serve

Parameters

Name Type Required Default Description Aliases
f file No - Specify config file path -f
C string No - Pass a config directive -C

Contract

Inputs

system.file.path

Path to file read via config

Outputs

system.file.content

File content leaked in error messages

Side effects:

Workflow Edges

Produces

system.file.content

Consumes

system.file.path

Resource Profile

ResourceValue
CPUmedium
Memory64 MB
Networklow
Disk I/Olow

Examples

Read arbitrary file via config parsing error message

apache2 -f /path/to/input-file

Read arbitrary file via Include directive

apache2 -C 'Define APACHE_RUN_DIR /' -C 'Include /path/to/input-file'

Documentation

apache2 โ€” Apache HTTP Server

Apache HTTP server. When used with sudo or SUID, config file paths passed with -f or -C Include can leak arbitrary file content through error messages.

Related Tools

apache2ctlnginx

References