Skip to content

Commit

Permalink
security: SSRF External Images
Browse files Browse the repository at this point in the history
This is an extension of `d98c2d0` and addresses an issue reported by
haxatron. This ensures the `Allow External Images` setting is Disabled by
default on new installs.
  • Loading branch information
JediKev committed Oct 7, 2021
1 parent e90d3be commit 1c6f98e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/class.config.php
Expand Up @@ -230,7 +230,7 @@ class OsticketConfig extends Config {
'max_open_tickets' => 0,
'files_req_auth' => 1,
'force_https' => '',
'allow_external_images' => 1,
'allow_external_images' => 0,
);

function __construct($section=null) {
Expand Down
2 changes: 1 addition & 1 deletion include/i18n/en_US/config.yaml
Expand Up @@ -80,7 +80,7 @@ core:
ticket_number_format: '######'
ticket_sequence_id: 0
queue_bucket_counts: 0
allow_external_images: 1
allow_external_images: 0
task_number_format: '#'
task_sequence_id: 2
log_level: 2
Expand Down

0 comments on commit 1c6f98e

Please sign in to comment.