Difference between revisions of "Template:Infobox bug/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
imported>BrandonXLF
Line 9: Line 9:
 
| label1  = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]]
 
| label1  = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]]
 
| data1    = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}}
 
| data1    = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}}
| label2  = [[Common Vulnerability Scoring System#Version 2|CVSS v2]]
 
| data2    = {{ubl|
 
|{{#if:{{{v2_base|}}}|Base score: {{{v2_base}}}}}
 
|{{#if:{{{v2_impact|}}}|Impact score: {{{v2_impact}}}}}
 
|{{#if:{{{v2_exploitability|}}}|Exploitability score: {{{v2_exploitability}}}}}
 
|{{#if:{{{v2_AV|}}}|Attack Vector: {{{v2_AV}}}}}
 
|{{#if:{{{v2_AC|}}}|Attack Complexity: {{{v2_AC}}}}}
 
|{{#if:{{{v2_AU|}}}|Authentication: {{{v2_AU}}}}}
 
|{{#if:{{{v2_C|}}}|Confidentiality: {{{v2_AV}}}}}
 
|{{#if:{{{v2_I|}}}|Integrity: {{{v2_I}}}}}
 
|{{#if:{{{v2_A|}}}|Availability: {{{v2_A}}}}}
 
}}
 
 
| label3  = [[Common Vulnerability Scoring System#Version 2|CVSS v3]]
 
| label3  = [[Common Vulnerability Scoring System#Version 2|CVSS v3]]
| data3    = {{ubl|
 
|{{#if:{{{v3_base|}}}|Base score: {{{v3_base}}}}}
 
|{{#if:{{{v3_impact|}}}|Impact score: {{{v3_impact}}}}}
 
|{{#if:{{{v3_exploitability|}}}|Exploitability score: {{{v3_exploitability}}}}}
 
|{{#if:{{{v3_AV|}}}|Attack Vector: {{{v3_AV}}}}}
 
|{{#if:{{{v3_AC|}}}|Attack Complexity: {{{v3_AC}}}}}
 
|{{#if:{{{v3_PR|}}}|Privileges Required: {{{v3_PR}}}}}
 
|{{#if:{{{v3_UI|}}}|User Interaction: {{{v3_UI}}}}}
 
|{{#if:{{{v3_S|}}}|Scope: {{{v3_S}}}}}
 
|{{#if:{{{v3_C|}}}|Confidentiality: {{{v3_C}}}}}
 
|{{#if:{{{v3_I|}}}|Integrity: {{{v3_I}}}}}
 
|{{#if:{{{v3_A|}}}|Availability: {{{v3_A}}}}}
 
}}
 
 
| label4  = Date discovered
 
| label4  = Date discovered
 
| data4    = {{{discovered|}}}
 
| data4    = {{{discovered|}}}
Line 56: Line 31:
 
| label14  = Exploitability score
 
| label14  = Exploitability score
 
| data14  = {{{v2_exploitability|}}}
 
| data14  = {{{v2_exploitability|}}}
| label15  = Attack Vector
+
| label15  = Attack vector
 
| data15  = {{{v2_AV|}}}
 
| data15  = {{{v2_AV|}}}
| label16  = Attack Complexity:
+
| label16  = Attack complexity:
 
| data16  = {{{v2_AC|}}}
 
| data16  = {{{v2_AC|}}}
 
| label17  = Authentication
 
| label17  = Authentication
Line 68: Line 43:
 
| label20  = Availability
 
| label20  = Availability
 
| data20  = {{{v2_A|}}}
 
| data20  = {{{v2_A|}}}
 +
| header21 = [[Common Vulnerability Scoring System#Version 3|CVSS v3]]
 +
| label22  = Base score
 +
| data22  = {{{v3_base|}}}
 +
| label23  = Impact score
 +
| data23  = {{{v3_impact|}}}
 +
| label24  = Exploitability score
 +
| data24  = {{{v3_exploitability|}}}
 +
| label25  = Attack vector
 +
| data25  = {{{v3_AV|}}}
 +
| label26  = Attack complexity
 +
| data26  = {{{v3_AC|}}}
 +
| label27  = Privileges required
 +
| data27  = {{{v3_PR|}}}
 +
| label28  = User interaction
 +
| data28  = {{{v3_UI|}}}
 +
| label29  = Scope
 +
| data29  = {{{v3_S|}}}
 +
| label30  = Confidentiality
 +
| data30  = {{{v3_C|}}}
 +
| label31  = Intercity
 +
| data31  = {{{v3_I|}}}
 +
| label32  = Availability
 +
| data32  = {{{v3_A|}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox bug with unknown parameters]]|name|logo|logo size|logo alt|logo caption|image|image size|image alt|image caption|screenshot|screenshot size|screenshot alt|screenshot caption|CVE|discovered|patched|discovered by|affected hardware|affected software|used by|website}}<noinclude>{{documentation}}</noinclude>
 
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox bug with unknown parameters]]|name|logo|logo size|logo alt|logo caption|image|image size|image alt|image caption|screenshot|screenshot size|screenshot alt|screenshot caption|CVE|discovered|patched|discovered by|affected hardware|affected software|used by|website}}<noinclude>{{documentation}}</noinclude>

Revision as of 03:30, 22 February 2019

Infobox bug
CVSS v2
CVSS v3
Template documentation[view] [edit] [history] [purge]

This infobox is used to add an infobox to article about software bugs, vulnerabilities and security bugs.

Parameters

Template:Parameter names example

Template:Pre2 Template:Pre2

Example

Heartbleed
Heartbleed.svg
Logo representing Heartbleed. Security company Codenomicon gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue.
CVE identifier(s)CVE-2014-0160
Date discoveredTemplate:Start date and age
Date patchedTemplate:Start date and age
DiscovererNeel Mehta
Affected softwareOpenSSL (1.0.1)
WebsiteTemplate:URL
Template:Pre2

Tracking category

See also