Updates vulnerability reference URL

This commit is contained in:
erwanlr
2020-10-16 13:08:44 +02:00
parent 89fccfe7b7
commit c07ecc58cb
4 changed files with 6 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ module WPScan
end end
def wpvulndb_url(id) def wpvulndb_url(id)
"https://wpscan.com/vulnerabilities/#{id}" "https://wpscan.com/vulnerability/#{id}"
end end
end end
end end

View File

@@ -17,7 +17,7 @@
| |
| [!] Title: Dignitas 1.1.9 - Privilage Escalation | [!] Title: Dignitas 1.1.9 - Privilage Escalation
| References: | References:
| - https://wpscan.com/vulnerabilities/7825 | - https://wpscan.com/vulnerability/7825
| - http://research.evex.pw/?vuln=6 | - http://research.evex.pw/?vuln=6
| - https://packetstormsecurity.com/files/130652/ | - https://packetstormsecurity.com/files/130652/
| |

View File

@@ -5,12 +5,12 @@
| |
| [!] Title: WP 3.8.1 - Vuln 1 | [!] Title: WP 3.8.1 - Vuln 1
| CVSS: 5.4 (VECTOR) | CVSS: 5.4 (VECTOR)
| Reference: https://wpscan.com/vulnerabilities/1 | Reference: https://wpscan.com/vulnerability/1
| |
| [!] Title: WP 3.8.1 - Vuln 2 | [!] Title: WP 3.8.1 - Vuln 2
| Fixed in: 3.8.2 | Fixed in: 3.8.2
| References: | References:
| - https://wpscan.com/vulnerabilities/2 | - https://wpscan.com/vulnerability/2
| - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0166 | - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0166
| - url-2 | - url-2
| - url-3 | - url-3

View File

@@ -33,11 +33,11 @@ shared_examples WPScan::References do
its(:cve_urls) { should eql %w[https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-11] } its(:cve_urls) { should eql %w[https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-11] }
its(:wpvulndb_ids) { should eql %w[12] } its(:wpvulndb_ids) { should eql %w[12] }
its(:wpvulndb_urls) { should eql %w[https://wpscan.com/vulnerabilities/12] } its(:wpvulndb_urls) { should eql %w[https://wpscan.com/vulnerability/12] }
its(:references_urls) do its(:references_urls) do
should eql [ should eql [
'https://wpscan.com/vulnerabilities/12', 'https://wpscan.com/vulnerability/12',
'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-11' 'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-11'
] ]
end end