Commit 494fe86d authored by Fabio Busatto's avatar Fabio Busatto

Initial commit

parents
image: alpine:latest
stages:
- test
- dast
sast:
script:
- cp -v "$CI_COMMIT_REF_SLUG"/gl-sast-report.json .
artifacts:
paths: [gl-sast-report.json]
dependency_scanning:
script:
- cp -v "$CI_COMMIT_REF_SLUG"/gl-dependency-scanning-report.json .
artifacts:
paths: [gl-dependency-scanning-report.json]
container_scanning:
script:
- cp -v "$CI_COMMIT_REF_SLUG"/gl-sast-container-report.json .
artifacts:
paths: [gl-sast-container-report.json]
dast:
stage: dast
script:
- cp -v "$CI_COMMIT_REF_SLUG"/gl-dast-report.json .
artifacts:
paths: [gl-dast-report.json]
except:
- master
{
"site": {
"alerts": [
{
"sourceid": "3",
"wascid": "15",
"cweid": "16",
"reference": "<p>http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx</p><p>https://www.owasp.org/index.php/List_of_useful_HTTP_headers</p>",
"otherinfo": "<p>This issue still applies to error type pages (401, 403, 500, etc) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.</p><p>At \"High\" threshold this scanner will not alert on client or server error responses.</p>",
"solution": "<p>Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.</p><p>If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.</p>",
"count": "2",
"pluginid": "10021",
"alert": "X-Content-Type-Options Header Missing",
"name": "X-Content-Type-Options Header Missing",
"riskcode": "1",
"confidence": "2",
"riskdesc": "Low (Medium)",
"desc": "<p>The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.</p>",
"instances": [
{
"param": "X-Content-Type-Options",
"method": "GET",
"uri": "http://bikebilly-spring-auto-devops-review-feature-br-3y2gpb.35.192.176.43.xip.io"
},
{
"param": "X-Content-Type-Options",
"method": "GET",
"uri": "http://bikebilly-spring-auto-devops-review-feature-br-3y2gpb.35.192.176.43.xip.io/"
}
]
}
],
"@ssl": "false",
"@port": "80",
"@host": "bikebilly-spring-auto-devops-review-feature-br-3y2gpb.35.192.176.43.xip.io",
"@name": "http://bikebilly-spring-auto-devops-review-feature-br-3y2gpb.35.192.176.43.xip.io"
},
"@generated": "Fri, 13 Apr 2018 09:22:01",
"@version": "2.7.0"
}
[
{
"priority": "Unknown",
"file": "pom.xml",
"cve": "CVE-2012-4387",
"url": "http://struts.apache.org/docs/s2-011.html",
"message": "Long parameter name DoS for org.apache.struts/struts2-core",
"tools": [
"gemnasium"
],
"tool": "gemnasium"
},
{
"priority": "Unknown",
"file": "pom.xml",
"cve": "CVE-2013-1966",
"url": "http://struts.apache.org/docs/s2-014.html",
"message": "Remote command execution due to flaw in the includeParams attribute of URL and Anchor tags for org.apache.struts/struts2-core",
"tools": [
"gemnasium"
],
"tool": "gemnasium"
},
{
"priority": "Unknown",
"file": "pom.xml",
"cve": "CVE-2013-2115",
"url": "http://struts.apache.org/docs/s2-014.html",
"message": "Remote command execution due to flaw in the includeParams attribute of URL and Anchor tags for org.apache.struts/struts2-core",
"tools": [
"gemnasium"
],
"tool": "gemnasium"
},
{
"priority": "Unknown",
"file": "pom.xml",
"cve": "CVE-2013-2134",
"url": "http://struts.apache.org/docs/s2-015.html",
"message": "Arbitrary OGNL code execution via unsanitized wildcard matching for org.apache.struts/struts2-core",
"tools": [
"gemnasium"
],
"tool": "gemnasium"
}
]
{
"image": "registry.gitlab.com/bikebilly/auto-devops-10-6/feature-branch:e7315ba964febb11bac8f5cd6ec433db8a3a1583",
"unapproved": [
"CVE-2017-15650"
],
"vulnerabilities": [
{
"featurename": "musl",
"featureversion": "1.1.14-r15",
"vulnerability": "CVE-2017-15650",
"namespace": "alpine:v3.4",
"description": "",
"link": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15650",
"severity": "Medium",
"fixedby": "1.1.14-r16"
}
]
}
[
{
"priority": "Medium",
"line": "29",
"file": "subdir/src/main/java/com/gitlab/security_products/tests/App.java",
"cve": "e6449b89335daf53c0db4c0219bc1634:CIPHER_INTEGRITY",
"message": "Cipher with no integrity",
"tool": "find_sec_bugs"
},
{
"priority": "Low",
"line": "41",
"file": "subdir/src/main/java/com/gitlab/security_products/tests/App.java",
"cve":"818bf5dacb291e15d9e6dc3c5ac32178:PREDICTABLE_RANDOM",
"message": "Predictable pseudorandom number generator",
"tool": "find_sec_bugs"
}
]
[
{
"priority": "Unknown",
"file": "pom.xml",
"cve": "CVE-2012-4386",
"url": "http://struts.apache.org/docs/s2-010.html",
"message": "CSRF protection bypass for org.apache.struts/struts2-core",
"tools": [
"gemnasium"
],
"tool": "gemnasium"
},
{
"priority": "Unknown",
"file": "pom.xml",
"cve": "CVE-2012-4387",
"url": "http://struts.apache.org/docs/s2-011.html",
"message": "Long parameter name DoS for org.apache.struts/struts2-core",
"tools": [
"gemnasium"
],
"tool": "gemnasium"
},
{
"priority": "Unknown",
"file": "pom.xml",
"cve": "CVE-2013-1966",
"url": "http://struts.apache.org/docs/s2-014.html",
"message": "Remote command execution due to flaw in the includeParams attribute of URL and Anchor tags for org.apache.struts/struts2-core",
"tools": [
"gemnasium"
],
"tool": "gemnasium"
}
]
[
{
"priority": "High",
"line": "19",
"file": "subdir/src/main/java/com/gitlab/security_products/tests/App.java",
"cve": "234523453453243334fb4c0234534374:INSECURE_VARIABLE",
"message": "Insecure variable usage",
"tool": "find_sec_bugs"
},
{
"priority": "Medium",
"line": "29",
"file": "subdir/src/main/java/com/gitlab/security_products/tests/App.java",
"cve": "e6449b89335daf53c0db4c0219bc1634:CIPHER_INTEGRITY",
"message": "Cipher with no integrity",
"tool": "find_sec_bugs"
},
{
"priority": "Medium",
"line": "29",
"file": "subdir/src/main/java/com/gitlab/security_products/tests/App.java",
"cve": "ea0f905fc76f2739d5f10a1fd1e37a10:ECB_MODE",
"message": "ECB mode is insecure",
"tool": "find_sec_bugs"
}
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment