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

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
(Undid revision 884494211 by BrandonXLF (talk))
imported>BrandonXLF
(Adding CVSS)
Line 8: Line 8:
 
| caption3 = {{{screenshot caption|}}}
 
| caption3 = {{{screenshot caption|}}}
 
| 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  = Date discovered
+
| label2   = [[Common Vulnerability Scoring System#Version 2|CVSS v2]]
| data2   = {{{discovered|}}}
+
| data2    = {{#if:{{{CCVS2|{{{ccvs2|}}}}}}|{{ubl|
| label3   = Date patched  
+
{{{CCVS2|{{{ccvs2}}}}}}
| data3   = {{{patched|}}}
+
|{{#if:{{{v2_impact|}}}|Impact score: {{{v2_impact}}}}}
| label4   = Discovered by
+
|{{#if:{{{v2_exploitability|}}}|Exploitability score: {{{v2_exploitability}}}}}
| data4   = {{{discovered by|}}}
+
|{{#if:{{{v2_AV|}}}|Attack Vector: {{{v2_AV}}}}}
| label5   = Affected hardware  
+
|{{#if:{{{v2_AC|}}}|Attack Complexity: {{{v2_AC}}}}}
| data5   = {{{affected hardware|}}}
+
|{{#if:{{{v2_AU|}}}|Authentication: {{{v2_AU}}}}}
| label6   = Affected software  
+
|{{#if:{{{v2_C|}}}|Confidentiality: {{{v2_AV}}}}}
| data6   = {{{affected software|}}}
+
|{{#if:{{{v2_I|}}}|Integrity: {{{v2_I}}}}}
| label7   = Used by  
+
|{{#if:{{{v2_A|}}}|Availability: {{{v2_A}}}}}
| data7   = {{{used by|}}}
+
}}}}
| label8   = Website  
+
| label3  = [[Common Vulnerability Scoring System#Version 2|CVSS v3]]
| data8   = {{{website|}}}
+
| data3    = {{#if:{{{CCVS3|{{{ccvs3|}}}}}}|{{ubl|
 +
|{{{CCVS3|{{{ccvs3}}}}}}
 +
|{{#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
 +
| data4   = {{{discovered|}}}
 +
| label5   = Date patched  
 +
| data5   = {{{patched|}}}
 +
| label6   = Discovered by
 +
| data6   = {{{discovered by|}}}
 +
| label7   = Affected hardware  
 +
| data7   = {{{affected hardware|}}}
 +
| label8   = Affected software  
 +
| data8   = {{{affected software|}}}
 +
| label9   = Used by  
 +
| data9   = {{{used by|}}}
 +
| label10   = Website  
 +
| data10   = {{{website|}}}
 
}}{{#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 02:05, 22 February 2019

Infobox bug
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