{
    "vulnerabilities": {
        "Content Security Policy Configuration": [
            {
                "method": "GET",
                "path": "/csp_insecured.php",
                "info": "CSP \"base-uri\" value is not safe",
                "parameter": "",
                "module": "csp",
                "http_request": "GET /csp_insecured.php HTTP/1.1\nhost: csp\nconnection: keep-alive\nuser-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0\naccept-language: en-US\naccept-encoding: gzip, deflate, br\naccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                "wstg": [
                    "OSHP-Content-Security-Policy",
                    "WSTG-CONF-12"
                ]
            },
            {
                "method": "GET",
                "path": "/csp_insecured.php",
                "info": "CSP \"default-src\" value is not safe",
                "parameter": "",
                "module": "csp",
                "http_request": "GET /csp_insecured.php HTTP/1.1\nhost: csp\nconnection: keep-alive\nuser-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0\naccept-language: en-US\naccept-encoding: gzip, deflate, br\naccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                "wstg": [
                    "OSHP-Content-Security-Policy",
                    "WSTG-CONF-12"
                ]
            },
            {
                "method": "GET",
                "path": "/csp_insecured.php",
                "info": "CSP \"object-src\" value is not safe",
                "parameter": "",
                "module": "csp",
                "http_request": "GET /csp_insecured.php HTTP/1.1\nhost: csp\nconnection: keep-alive\nuser-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0\naccept-language: en-US\naccept-encoding: gzip, deflate, br\naccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                "wstg": [
                    "OSHP-Content-Security-Policy",
                    "WSTG-CONF-12"
                ]
            },
            {
                "method": "GET",
                "path": "/csp_insecured.php",
                "info": "CSP \"script-src\" value is not safe",
                "parameter": "",
                "module": "csp",
                "http_request": "GET /csp_insecured.php HTTP/1.1\nhost: csp\nconnection: keep-alive\nuser-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0\naccept-language: en-US\naccept-encoding: gzip, deflate, br\naccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                "wstg": [
                    "OSHP-Content-Security-Policy",
                    "WSTG-CONF-12"
                ]
            }
        ]
    },
    "infos": {
        "target": "http://csp/csp_insecured.php",
        "crawled_pages": [
            {
                "request": {
                    "url": "http://csp/csp_insecured.php",
                    "method": "GET",
                    "headers": [
                        [
                            "accept",
                            "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
                        ],
                        [
                            "accept-encoding",
                            "gzip, deflate, br"
                        ],
                        [
                            "accept-language",
                            "en-US"
                        ],
                        [
                            "connection",
                            "keep-alive"
                        ],
                        [
                            "host",
                            "csp"
                        ],
                        [
                            "user-agent",
                            "Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0"
                        ]
                    ]
                },
                "response": {
                    "status_code": 200,
                    "body": "<!DOCTYPE html>\n<html>\n    <head>\n        <title>CSP Example</title>\n\n    </head>\n    <body>\n        <p>Page with an CSP highly bypassable.</p>\n    </body>\n</html>\n\n",
                    "headers": [
                        [
                            "connection",
                            "Keep-Alive"
                        ],
                        [
                            "content-encoding",
                            "gzip"
                        ],
                        [
                            "content-length",
                            "132"
                        ],
                        [
                            "content-security-policy",
                            "default-src *; script-src 'unsafe-inline'; 'unsafe-eval'; style-src 'unsafe-inline'; img-src *; connect-src *; foobar-src 'foobar'"
                        ],
                        [
                            "content-type",
                            "text/html; charset=UTF-8"
                        ],
                        [
                            "server",
                            "Apache/2.4.56 (Debian)"
                        ],
                        [
                            "vary",
                            "Accept-Encoding"
                        ]
                    ]
                }
            }
        ]
    }
}