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

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
(Moving sandbox documentation into sandbox)
imported>BrandonXLF
 
(10 intermediate revisions by the same user not shown)
Line 62: Line 62:
 
| label30  = Confidentiality
 
| label30  = Confidentiality
 
| data30  = {{{v3_C|}}}
 
| data30  = {{{v3_C|}}}
| label31  = Intercity
+
| label31  = Integrity
 
| data31  = {{{v3_I|}}}
 
| data31  = {{{v3_I|}}}
 
| label32  = Availability
 
| label32  = Availability
 
| data32  = {{{v3_A|}}}
 
| 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}}<!--
+
}}{{#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|cve|discovered|patched|discovered by|affected hardware|affected software|used by|website|v2_base|v2_ref|v2_impact|v2_exploitability|v2_AV|v2_AC|v2_AU|v2_I|v2_A|v3_base|v3_ref|v3_impact|v3_exploitability|v3_AV|v3_AC|v3_PR|v3_UI|v3_S|v3_C|v3_I|v3_A}}<noinclude>{{documentation|Template:Infobox_bug/sandbox/doc}}</noinclude>
 
 
--><noinclude>{{documentation|content=
 
{{For2|an infobox for [[viruses]] or [[bacteria]]|[[Template:Virusbox]], [[Template:Taxobox]] and [[Template:Automatic taxobox]]|an infobox for (as in small insects)|[[Template:Taxobox]] and [[Template:Automatic taxobox]]}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:String}}
 
This infobox is used to add an infobox to article about [[software bug]]s, [[vulnerability (computing)|vulnerabilities]] and [[security bug]]s.
 
== Parameters ==
 
{{Parameter names example|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}}
 
{|
 
|- style="vertical-align:top;"
 
| {{Pre2|scroll|2=
 
<nowiki>{{Infobox bug
 
| 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 =
 
}}</nowiki>
 
}}
 
| {{Pre2|scroll|2=
 
&nbsp;
 
The name of the bug
 
The logo of the bug
 
The size of the logo
 
Alternate text for the logo
 
Caption for the logo
 
An image (besides screenshot or logo)
 
The size of the image
 
Alternate text for the image
 
Caption for the image
 
Screenshot of the bug
 
The size of the screenshot
 
Alternate text for the screenshot
 
Caption for the screenshot
 
CVE ([[Common Vulnerabilities and Exposures]]) identification(s) (example: CVE-2014-6277)
 
Date of discovery (use {{tl|Start date and age}})
 
Date of patch release (use {{tl|Start date and age}})
 
Discoverer of the bug
 
Hardware affected by the bug
 
Software affected by the bug
 
Know groups/people who use(d) the exploit
 
Website for the bug (use {{tl|URL}})
 
&nbsp;
 
}}
 
|}
 
{{clear}}
 
== Examples ==
 
{{Infobox bug/sandbox
 
| name = Heartbleed
 
| image = Heartbleed.svg
 
| image_size = 180px
 
| caption = Logo representing Heartbleed. Security company [[Codenomicon]] gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue.
 
| CVE = CVE-2014-0160
 
| discovered = {{Start date and age|2014|4|1}}
 
| patched = {{Start date and age|2014|4|7}}
 
| discoverer = Neel Mehta
 
| affected software = [[OpenSSL]] (1.0.1)
 
| website = {{URL|heartbleed.com}}
 
<!-- CVSS v2 -->
 
|v2_base = 5
 
|v2_impact = 2.9
 
|v2_exploitability = 10
 
|v2_AV = Network
 
|v2_AC = Low
 
|v2_AU = None
 
|v2_C = Partial
 
|v2_I = None
 
|v2_A = None
 
}}
 
{|
 
|-
 
|{{Pre2|scroll|2=
 
<nowiki>{{Infobox bug
 
| name = Heartbleed
 
| image = Heartbleed.svg
 
| image_size = 180px
 
| caption = Logo representing Heartbleed. Security company [[Codenomicon]] gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue.
 
| CVE = CVE-2014-0160
 
| discovered = {{Start date and age|2014|4|1}}
 
| patched = {{Start date and age|2014|4|7}}
 
| discoverer = Neel Mehta
 
| affected software = [[OpenSSL]] (1.0.1)
 
| website = {{URL|heartbleed.com}}
 
<!-- CVSS v2 -->
 
|v2_base = 5
 
|v2_impact = 2.9
 
|v2_exploitability = 10
 
|v2_AV = Network
 
|v2_AC = Low
 
|v2_AU = None
 
|v2_C = Partial
 
|v2_I = None
 
|v2_A = None
 
}}</nowiki>}}
 
|}
 
{{clear}}
 
{{Infobox bug/sandbox
 
| name = Shellshock
 
| logo = Shellshock-bug.png
 
| logo size = 180px
 
| logo caption = A simple Shellshock logo, similar to the [[Heartbleed]] bug logo
 
| CVE =
 
CVE-2014-6271
 
CVE-2014-6277
 
CVE-2014-6278
 
CVE-2014-7169
 
CVE-2014-7186
 
CVE-2014-7187
 
| discovered = {{Start date and age|2014|9|12}}
 
| patched = {{Start date and age|2014|9|24}}
 
| affected software = [[GNU Bash]] (1.0.3–2.05b)
 
}}
 
{|
 
|-
 
|{{Pre2|scroll|2=
 
<nowiki>{{Infobox bug
 
| name = Shellshock
 
| logo = Shellshock-bug.png
 
| logo size = 180px
 
| logo caption = A simple Shellshock logo, similar to the [[Heartbleed]] bug logo
 
| CVE =
 
CVE-2014-6271
 
CVE-2014-6277
 
CVE-2014-6278
 
CVE-2014-7169
 
CVE-2014-7186
 
CVE-2014-7187
 
| discovered = {{Start date and age|2014|9|12}}
 
| patched = {{Start date and age|2014|9|24}}
 
| affected software = [[GNU Bash]] (1.0.3–2.05b)
 
}}</nowiki>}}
 
|}
 
{{clear}}
 
== Template data ==
 
<templatedata>
 
{
 
"description": "Used to add an infobox to article about software bugs, vulnerabilities and security bugs.",
 
"format": "block",
 
"params": {
 
"name": {
 
"label": "Name",
 
"description": "The name of the bug",
 
"example": "Shellshock",
 
"autovalue": "{{BASEPAGENAME}}",
 
"type": "wiki-page-name"
 
},
 
"logo": {
 
"label": "Logo",
 
"description": "The logo of the bug",
 
"example": "example.png",
 
"type": "wiki-file-name",
 
"autovalue": "",
 
"suggested": true
 
},
 
"logo size": {
 
"label": "Logo size",
 
"description": "The size of the logo",
 
"example": "180px",
 
"type": "number"
 
},
 
"logo alt": {
 
"label": "Logo alt",
 
"description": "Alternate text for the logo",
 
"type": "string"
 
},
 
"logo caption": {
 
"label": "Logo caption",
 
"description": "Caption for the logo",
 
"example": "A simple Shellshock logo, similar to the [[Heartbleed]] bug logo",
 
"type": "string"
 
},
 
"image": {
 
"label": "Image",
 
"description": "The image of the bug",
 
"example": "example.png",
 
"type": "wiki-file-name"
 
},
 
"image size": {
 
"label": "Image size",
 
"description": "The size of the image",
 
"example": "180px",
 
"type": "number"
 
},
 
"image alt": {
 
"label": "Image alt",
 
"description": "Alternate text for the image",
 
"type": "string"
 
},
 
"image caption": {
 
"label": "Image caption",
 
"description": "Caption for the image",
 
"type": "string"
 
},
 
"screenshot": {
 
"label": "Screenshot",
 
"description": "The screenshot of the bug",
 
"example": "example.png",
 
"type": "wiki-file-name",
 
"suggested": true
 
},
 
"screenshot size": {
 
"label": "Screenshot size",
 
"description": "The size of the screenshot",
 
"example": "180px",
 
"type": "number"
 
},
 
"screenshot alt": {
 
"label": "Screenshot alt",
 
"description": "Alternate text for the screenshot",
 
"type": "string"
 
},
 
"screenshot caption": {
 
"label": "Screenshot caption",
 
"description": "Caption for the screenshot",
 
"type": "string"
 
},
 
"CVE": {
 
"aliases": [
 
"cve"
 
],
 
"label": "CVE identification(s)",
 
"description": "Common Vulnerabilities and Exposures (CVE) identification(s) for the bug",
 
"example": "CVE-XXXX-YYYY",
 
"type": "string",
 
"suggested": true
 
},
 
"discovered": {
 
"label": "Discovery date",
 
"description": "Year and/or date of discovery",
 
"example": "{{Start date and age|2019|1|20}}",
 
"type": "date",
 
"suggested": true
 
},
 
"patched": {
 
"label": "Patch date",
 
"description": "Year and/or date of patch release",
 
"example": "{{Start date and age|2019|1|21}}",
 
"type": "date",
 
"suggested": true
 
},
 
"discovered by": {
 
"label": "Discovered by",
 
"description": "Discoverer of the bug",
 
"example": "[[John Smith]]",
 
"type": "string"
 
},
 
"affected hardware": {
 
"label": "Affected hardware",
 
"description": "Hardware affected by the bug",
 
"example": "[[Qualcomm Snapdragon]]",
 
"type": "string"
 
},
 
"affected software": {
 
"label": "Affected software",
 
"description": "Software affected by the bug",
 
"example": "[[macOS]]",
 
"type": "string"
 
},
 
"used by": {
 
"label": "Used by",
 
"description": "Know groups/people who use(d) the exploit",
 
"type": "string"
 
},
 
"website": {
 
"label": "Website",
 
"description": "Website for the bug",
 
"example": "{{URL|http://heartbleed.com/}}",
 
"type": "url",
 
"suggested": true
 
}
 
}
 
}
 
</templatedata>
 
== Tracking category ==
 
* {{Category link with count|Pages using Template:Infobox bug with unknown parameters}}
 
== See also ==
 
* [[Template:Virusbox]] for viruses (sometimes referred to as bugs)
 
* [[Template:Taxobox]] ([[Template:Automatic taxobox]]) for viruses, bacteria and small insects (sometimes referred to as bugs)
 
<includeonly>{{Sandbox other|| <!-- Categories below this line and interwikis at Wikidata -->
 
[[Category:Computing infobox templates]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</noinclude>
 

Latest revision as of 07:56, 3 November 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

Examples

Heartbleed
Heartbleed.svg
CVE identifier
Date discoveredTemplate:Start date and age
Date patchedTemplate:Start date and age
Affected softwareOpenSSL (1.0.1)
WebsiteTemplate:URL
CVSS v2
Base score5
Impact score2.9
Exploitability score10
Attack vectorNetwork
Attack complexityLow
AuthenticationNone
ConfidentialityNetwork
IntegrityNone
AvailabilityNone
Template:Pre2
Shellshock
Shellshock-bug.png
A simple Shellshock logo, similar to the Heartbleed bug logo
CVE identifiers
Date discoveredTemplate:Start date and age
Date patchedTemplate:Start date and age
Affected softwareGNU Bash (1.0.3–2.05b)
Template:Pre2

Template data

Used to add an infobox to article about software bugs, vulnerabilities and security bugs.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the bug

Example
Shellshock
Auto value
{{BASEPAGENAME}}
Pageoptional
Logologo

The logo of the bug

Example
example.png
Auto value
Filesuggested
Logo sizelogo size

The size of the logo

Example
180px
Numberoptional
Logo altlogo alt

Alternate text for the logo

Stringoptional
Logo captionlogo caption

Caption for the logo

Example
A simple Shellshock logo, similar to the [[Heartbleed]] bug logo
Stringoptional
Imageimage

The image of the bug

Example
example.png
Fileoptional
Image sizeimage size

The size of the image

Example
180px
Numberoptional
Image altimage alt

Alternate text for the image

Stringoptional
Image captionimage caption

Caption for the image

Stringoptional
Screenshotscreenshot

The screenshot of the bug

Example
example.png
Filesuggested
Screenshot sizescreenshot size

The size of the screenshot

Example
180px
Numberoptional
Screenshot altscreenshot alt

Alternate text for the screenshot

Stringoptional
Screenshot captionscreenshot caption

Caption for the screenshot

Stringoptional
CVE identification(s)CVE cve

Common Vulnerabilities and Exposures (CVE) identification(s) for the bug

Example
CVE-XXXX-YYYY
Stringsuggested
Discovery datediscovered

Year and/or date of discovery

Example
{{Start date and age|2019|1|20}}
Datesuggested
Patch datepatched

Year and/or date of patch release

Example
{{Start date and age|2019|1|21}}
Datesuggested
Discovered bydiscovered by

Discoverer of the bug

Example
[[John Smith]]
Stringoptional
Affected hardwareaffected hardware

Hardware affected by the bug

Example
[[Qualcomm Snapdragon]]
Stringoptional
Affected softwareaffected software

Software affected by the bug

Example
[[macOS]]
Stringoptional
Used byused by

Know groups/people who use(d) the exploit

Stringoptional
Websitewebsite

Website for the bug

Example
{{URL|http://heartbleed.com/}}
URLsuggested

Tracking category

See also