Skip to content

soap.wsdl_cache_dir: False positive (directory name /tmp[...]) #103

Description

@strarsis

When using a directory different to /tmp which directory name starts with tmp,
iniscan issues a false positive:

[...]
soap.wsdl_cache_dir="/temp-php-wsdl"
[...]

Without the directory present:

[...]
FAIL   | WARNING  |             |               | soap.wsdl_cache_dir           | The SOAP WSDL cache directory did not resolve to a valid directory
[...]

With the directory present:

[...]
FAIL   | WARNING  |             |               | soap.wsdl_cache_dir           | The SOAP WSDL cache directory is inside of "/tmp/" which allows local users to conduct WSDL injection attacks (CVE-2013-6501)
[...]

Using a directory which directory name does not start with /tmp[...]:

[...]
soap.wsdl_cache_dir="/temp-php-wsdl"
[...]

Directory has been ensured being present, this iniscan passes then:

[...]
PASS   | WARNING  |             |               | soap.wsdl_cache_dir           | Security checks for CVE-2013-1635 and CVE-2013-6501
[...]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions