Difference between revisions of "Template:Infobox bug/sandbox/doc"
imported>BrandonXLF |
imported>BrandonXLF |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
== Parameters == | == 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}} | + | {{Parameter names example|_template=|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}} |
{| | {| | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| {{Pre2|scroll|2= | | {{Pre2|scroll|2= | ||
| − | <nowiki>{{Infobox bug | + | <nowiki> |
| + | {{Infobox bug/sandbox | ||
| name = | | name = | ||
| logo = | | logo = | ||
| Line 24: | Line 25: | ||
| screenshot alt = | | screenshot alt = | ||
| screenshot caption = | | screenshot caption = | ||
| − | | CVE = | + | | CVE = |
| discovered = | | discovered = | ||
| patched = | | patched = | ||
| Line 32: | Line 33: | ||
| used by = | | used by = | ||
| website = | | website = | ||
| − | }}</nowiki> | + | <!-- CVSS v2 --> |
| + | | v2_base = | ||
| + | | v2_ref = | ||
| + | | v2_impact = | ||
| + | | v2_exploitability = | ||
| + | | v2_AV = | ||
| + | | v2_AC = | ||
| + | | v2_AU = | ||
| + | | v2_I = | ||
| + | | v2_A = | ||
| + | <!-- CVSS v2 --> | ||
| + | | v3_base = | ||
| + | | v3_ref = | ||
| + | | v3_impact = | ||
| + | | v3_exploitability = | ||
| + | | v3_AV = | ||
| + | | v3_AC = | ||
| + | | v3_PR = | ||
| + | | v3_UI = | ||
| + | | v3_S = | ||
| + | | v3_C = | ||
| + | | v3_I = | ||
| + | | v3_A = | ||
| + | }} | ||
| + | </nowiki> | ||
}} | }} | ||
| {{Pre2|scroll|2= | | {{Pre2|scroll|2= | ||
| Line 64: | Line 89: | ||
== Examples == | == Examples == | ||
| − | {{Infobox bug | + | {{Infobox bug/sandbox |
| name = Heartbleed | | 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 | | CVE = CVE-2014-0160 | ||
| discovered = {{Start date and age|2014|4|1}} | | discovered = {{Start date and age|2014|4|1}} | ||
| patched = {{Start date and age|2014|4|7}} | | patched = {{Start date and age|2014|4|7}} | ||
| − | | | + | | discoverer = Neel Mehta |
| − | |||
| affected software = [[OpenSSL]] (1.0.1) | | affected software = [[OpenSSL]] (1.0.1) | ||
| website = {{URL|heartbleed.com}} | | 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 | ||
}} | }} | ||
{| | {| | ||
| Line 82: | Line 116: | ||
<nowiki>{{Infobox bug | <nowiki>{{Infobox bug | ||
| name = Heartbleed | | 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 | | CVE = CVE-2014-0160 | ||
| discovered = {{Start date and age|2014|4|1}} | | discovered = {{Start date and age|2014|4|1}} | ||
| patched = {{Start date and age|2014|4|7}} | | patched = {{Start date and age|2014|4|7}} | ||
| − | | | + | | discoverer = Neel Mehta |
| affected software = [[OpenSSL]] (1.0.1) | | affected software = [[OpenSSL]] (1.0.1) | ||
| website = {{URL|heartbleed.com}} | | 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>}} | }}</nowiki>}} | ||
|} | |} | ||
{{clear}} | {{clear}} | ||
| − | {{Infobox bug | + | {{Infobox bug/sandbox |
| name = Shellshock | | name = Shellshock | ||
| logo = Shellshock-bug.png | | logo = Shellshock-bug.png | ||
| Line 118: | Line 162: | ||
| logo = Shellshock-bug.png | | logo = Shellshock-bug.png | ||
| logo size = 180px | | logo size = 180px | ||
| − | | logo caption = A simple Shellshock logo, similar to the [[Heartbleed]] bug logo | + | | logo caption = A simple Shellshock logo, similar to the [[Heartbleed]] bug logo |
| CVE = | | CVE = | ||
CVE-2014-6271 | CVE-2014-6271 | ||
| Line 137: | Line 181: | ||
<templatedata> | <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> | </templatedata> | ||
== Tracking category == | == Tracking category == | ||
| − | * {{ | + | * {{Category link with count|Pages using Template:Infobox bug with unknown parameters}} |
== See also == | == See also == | ||
Latest revision as of 04:37, 26 June 2019
| This template uses Lua: |
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
| CVE identifier | |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Affected software | OpenSSL (1.0.1) |
| Website | Template:URL |
| CVSS v2 | |
| Base score | 5 |
| Impact score | 2.9 |
| Exploitability score | 10 |
| Attack vector | Network |
| Attack complexity | Low |
| Authentication | None |
| Confidentiality | Network |
| Integrity | None |
| Availability | None |
| Template:Pre2 |
![]() A simple Shellshock logo, similar to the Heartbleed bug logo | |
| CVE identifiers | |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Affected software | GNU Bash (1.0.3–2.05b) |
| Template:Pre2 |
Template data
Used to add an infobox to article about software bugs, vulnerabilities and security bugs.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the bug
| Page | optional |
| Logo | logo | The logo of the bug
| File | suggested |
| Logo size | logo size | The size of the logo
| Number | optional |
| Logo alt | logo alt | Alternate text for the logo | String | optional |
| Logo caption | logo caption | Caption for the logo
| String | optional |
| Image | image | The image of the bug
| File | optional |
| Image size | image size | The size of the image
| Number | optional |
| Image alt | image alt | Alternate text for the image | String | optional |
| Image caption | image caption | Caption for the image | String | optional |
| Screenshot | screenshot | The screenshot of the bug
| File | suggested |
| Screenshot size | screenshot size | The size of the screenshot
| Number | optional |
| Screenshot alt | screenshot alt | Alternate text for the screenshot | String | optional |
| Screenshot caption | screenshot caption | Caption for the screenshot | String | optional |
| CVE identification(s) | CVE cve | Common Vulnerabilities and Exposures (CVE) identification(s) for the bug
| String | suggested |
| Discovery date | discovered | Year and/or date of discovery
| Date | suggested |
| Patch date | patched | Year and/or date of patch release
| Date | suggested |
| Discovered by | discovered by | Discoverer of the bug
| String | optional |
| Affected hardware | affected hardware | Hardware affected by the bug
| String | optional |
| Affected software | affected software | Software affected by the bug
| String | optional |
| Used by | used by | Know groups/people who use(d) the exploit | String | optional |
| Website | website | Website for the bug
| URL | suggested |
Tracking category
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)
