From 3951f76eda934f5877a7b178416b64647a14416c Mon Sep 17 00:00:00 2001 From: Rachel Date: Fri, 31 May 2024 13:32:39 -0700 Subject: [PATCH] json reads, navbar, extra pages --- .gitignore | 13 + _layouts/default.html | 7 - backend/cve-cvex.json | 12 - content/_index.md | 1 + content/directoryv1.md | 11 + content/directoryv2.md | 7 + content/research.md | 7 + data/cvex_data/cvex_v1.json | 260 ++++++++++++++++++ data/cvex_data/cvex_v2.json | 260 ++++++++++++++++++ hugo.toml | 2 +- public/404.html | 13 +- public/CVEX-2017-1000499/index.html | 32 ++- public/CVEX-2023-28155/index.html | 32 ++- public/CVEX-2023-31419/index.html | 32 ++- public/categories/index.html | 13 +- public/categories/index.xml | 4 +- public/cvex/index.html | 13 +- public/cvex/index.xml | 4 +- public/index.html | 22 +- public/index.xml | 36 ++- public/sitemap.xml | 4 + public/styles.css.map | 2 +- public/tags/index.html | 13 +- public/tags/index.xml | 4 +- .../layouts/_default/directory.html | 30 ++ .../hugo-xterm/layouts/_default/single.html | 1 + .../layouts/_default/xplor_directory.html | 30 ++ .../hugo-xterm/layouts/partials/navbar.html | 3 + .../layouts/partials/navigation.html | 11 + 29 files changed, 806 insertions(+), 73 deletions(-) create mode 100644 .gitignore delete mode 100644 backend/cve-cvex.json create mode 100644 content/directoryv1.md create mode 100644 content/directoryv2.md create mode 100644 content/research.md create mode 100755 data/cvex_data/cvex_v1.json create mode 100755 data/cvex_data/cvex_v2.json create mode 100644 themes/hugo-xterm/layouts/_default/directory.html create mode 100644 themes/hugo-xterm/layouts/_default/xplor_directory.html create mode 100644 themes/hugo-xterm/layouts/partials/navigation.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d3efe77 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +/public +/resources +/exampleSite/public +/exampleSite/resources +/node_modules +.vscode +.hugo_build.lock +*.swp + +# ctags +tags +*.tags +TAGS diff --git a/_layouts/default.html b/_layouts/default.html index 7b0203d..e79ba85 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,12 +8,6 @@ - - {% include head-custom.html %} @@ -41,7 +35,6 @@

{{ site.title | default: site.github.repository_name - {{ content }} diff --git a/backend/cve-cvex.json b/backend/cve-cvex.json deleted file mode 100644 index 1745d2c..0000000 --- a/backend/cve-cvex.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "CVE-2012-1823": "cvex-210825-001", - "CVE-2019-12725": "cvex-210825-003", - "CVE-2019-16278": "cvex-210825-004", - "CVE-2014-4511": "cvex-210825-006", - "CVE-2018-16763": "cvex-210825-007", - "CVE-2015-2208": "cvex-210825-008", - "CVE-2017-1000486": "cvex-210825-009", - "CVE-2019-16662": "cvex-210825-010", - "CVE-2019-16663": "cvex-210825-011", - "CVE-2020-25952": "cvex-210825-012" -} \ No newline at end of file diff --git a/content/_index.md b/content/_index.md index 56e3edd..eec5325 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,6 +2,7 @@ title: Common Vulnerability and Exposure Executables (CVEX) description: A Collection of our Completed CVEXes layout: single +draft: true --- This static HUGO website serves as a database of completed CVEXes. These CVEXes were created by Team Kruegel & Vigna, 4 undergraduate researchers affiliated with UCSB's Early Research Scholars Program 2023-2024 cohort. diff --git a/content/directoryv1.md b/content/directoryv1.md new file mode 100644 index 0000000..ee6075d --- /dev/null +++ b/content/directoryv1.md @@ -0,0 +1,11 @@ +--- +title: "CVEX Directory" +description: A Collection of original CVEX v1.0 from SecLab +layout: directory +weight: 50 +url: /directoryv1/ +--- +**CVEX v2.0** takes inspiration from past CVEXes created from the past years. +Using a similar `exploiter` vs `recorder` model, we've further divided our CVEs into 3 main +containers: `server`, `client`, and `listener` while also enabling `tcpdump` traffic files +and stack traces to be stored in a user's local directory for better analysis of the exploit diff --git a/content/directoryv2.md b/content/directoryv2.md new file mode 100644 index 0000000..9a66992 --- /dev/null +++ b/content/directoryv2.md @@ -0,0 +1,7 @@ +--- +title: "XPLOR CVEX Directory" +layout: xplor_directory +weight: 50 +url: /directoryv2/ +--- +**CVEX v2.0** was a collaborative effort \ No newline at end of file diff --git a/content/research.md b/content/research.md new file mode 100644 index 0000000..4681fa6 --- /dev/null +++ b/content/research.md @@ -0,0 +1,7 @@ +--- +title: Xplor CVEX +description: Our Mission Statement +layout: single +draft: true +url: /research/ +--- \ No newline at end of file diff --git a/data/cvex_data/cvex_v1.json b/data/cvex_data/cvex_v1.json new file mode 100755 index 0000000..668f6f1 --- /dev/null +++ b/data/cvex_data/cvex_v1.json @@ -0,0 +1,260 @@ +{ + "cvex_v1_directory" : [ + { + "cveid": "CVE-2012-1823", + "cvexid": "cvex-210825-001", + "authors":["PriyankaBose"] + }, + { + "cveid": "CVE-2019-12725", + "cvexid": "cvex-210825-003", + "authors": ["degrigis", "pagabuc"] + }, + { + "cveid": "CVE-2019-16278", + "cvexid": "cvex-210825-004", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2014-4511", + "cvexid": "cvex-210825-006", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2018-16763", + "cvexid": "cvex-210825-007", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2015-2208", + "cvexid": "cvex-210825-008", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2017-1000486", + "cvexid": "cvex-210825-009", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2019-16662", + "cvexid": "cvex-210825-010", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2019-16663", + "cvexid": "cvex-210825-011", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2020-25952", + "cvexid": "cvex-210825-012", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2020-35151", + "cvexid": "cvex-210825-013", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2011-0751", + "cvexid": "cvex-210825-014", + "authors":["9yte"] + }, + { + "cveid": "CVE-2017-5638", + "cvexid": "cvex-210825-015", + "authors":["9yte"] + }, + { + "cveid": "CVE-2016-3714", + "cvexid": "cvex-210825-016", + "authors":["Trevillie"] + },{ + "cveid": "CVE-2019-14234", + "cvexid": "cvex-210825-017", + "authors":["Trevillie"] + }, + { + "cveid": "CVE-210825-018", + "cvexid": "cvex-210825-018", + "authors":["Trevillie"], + "valid": false + }, + { + "cveid": "CVE-2017-12650", + "cvexid": "cvex-210825-019", + "authors":["robmcl4"] + }, + { + "cveid": "CVE-2015-1427", + "cvexid": "cvex-210825-020", + "authors":["xavierholt"] + }, + { + "cveid": "CVE-2018-16509", + "cvexid": "cvex-210825-021", + "authors":["xavierholt"] + }, + { + "cveid": "CVE-2018-19475", + "cvexid": "cvex-210825-022", + "authors":["xavierholt"] + } + , + { + "cveid": "CVE-2019-6116", + "cvexid": "cvex-210825-023", + "authors":["xavierholt"] + }, + { + "cveid": "CVE-2018-11776", + "cvexid": "cvex-210825-024", + "authors":["ruaronicola"] + }, + { + "cveid": "CVE-2019-15107", + "cvexid": "cvex-210825-025", + "authors":["dipanjan"] + }, + { + "cveid": "CVE-2019-9193", + "cvexid": "cvex-210825-026", + "authors":["xavierholt"] + + }, + { + "cveid":"CVE-2014-6271", + "cvexid":"cvex-210825-027", + "authors":["xavierholt"] + }, + { + "cveid":"CVE-2015-3306", + "cvexid":"cvex-210825-028", + "authors":["rjt-gupta"] + }, + { + "cveid":"CVE-2017-5941", + "cvexid":"cvex-210825-029", + "authors":["rjt-gupta"] + }, + { + "cveid":"CVE-2020-5192", + "cvexid":"cvex-210825-030", + "authors":["dipanjan"] + }, + { + "cveid":"CVE-2020-25487", + "cvexid":"cvex-210825-031", + "authors":["dipanjan"] + }, + { + "cveid":"CVE-2020-29283", + "cvexid":"cvex-210825-032", + "authors":["PriyankaBose"] + }, + { + "cveid":"CVE-2019-6340", + "cvexid":"cvex-210825-033", + "authors":["ruaronicola"] + }, + { + "cveid":"CVE-2017-17405", + "cvexid":"cvex-210825-034", + "authors":["Trevillie"] + }, + { + "cveid": "CVE-2018-8733", + "cvexid": "cvex-210825-035", + "authors": ["9yte"] + }, + + + + { + "cveid": "CVE-2018-7600", + "cvexid": "cvex-210825-036", + "authors": ["pagabuc"] + }, + { + "cveid": "CVE-2019-15715", + "cvexid": "cvex-210825-037", + "authors": ["gal1ium"] + }, + { + "cveid": "CVE-2018-17181", + "cvexid": "cvex-210825-038", + "authors": ["pagabuc", "f-kalantari"] + }, + { + "cveid": "CVE-2018-15143", + "cvexid": "cvex-210825-039", + "authors": ["pagabuc", "f-kalantari"] + }, + { + "cveid": "CVE-2018-15145", + "cvexid": "cvex-210825-040", + "authors": ["pagabuc", "f-kalantari"] + }, + { + "cveid": "CVE-2018-17179", + "cvexid": "cvex-210825-041", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15144", + "cvexid": "cvex-210825-042", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15146", + "cvexid": "cvex-210825-043", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15147", + "cvexid": "cvex-210825-044", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15148", + "cvexid": "cvex-210825-045", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15149", + "cvexid": "cvex-210825-046", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15151", + "cvexid": "cvex-210825-047", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15150", + "cvexid": "cvex-210825-048", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15153", + "cvexid": "cvex-210825-049", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2021-41773", + "cvexid": "cvex-210825-050", + "authors": ["etrickel"] + }, + { + "cveid": "CVE-2021-32305", + "cvexid": "cvex-211021-001", + "authors": ["pagabuc"] + }, + { + "cveid": "CVE-2019-10028", + "cvexid": "cvex-211109-001", + "authors": ["Zion L. Basque", "Paul Emge"] + } + ] +} + diff --git a/data/cvex_data/cvex_v2.json b/data/cvex_data/cvex_v2.json new file mode 100755 index 0000000..6c25401 --- /dev/null +++ b/data/cvex_data/cvex_v2.json @@ -0,0 +1,260 @@ +{ + "cvex_v2_directory" : [ + { + "cveid": "CVE-2012-1823", + "cvexid": "cvex-210825-001", + "authors":["PriyankaBose"] + }, + { + "cveid": "CVE-2019-12725", + "cvexid": "cvex-210825-003", + "authors": ["degrigis", "pagabuc"] + }, + { + "cveid": "CVE-2019-16278", + "cvexid": "cvex-210825-004", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2014-4511", + "cvexid": "cvex-210825-006", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2018-16763", + "cvexid": "cvex-210825-007", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2015-2208", + "cvexid": "cvex-210825-008", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2017-1000486", + "cvexid": "cvex-210825-009", + "authors":["nvmb3r"] + }, + { + "cveid": "CVE-2019-16662", + "cvexid": "cvex-210825-010", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2019-16663", + "cvexid": "cvex-210825-011", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2020-25952", + "cvexid": "cvex-210825-012", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2020-35151", + "cvexid": "cvex-210825-013", + "authors":["fab1ano"] + }, + { + "cveid": "CVE-2011-0751", + "cvexid": "cvex-210825-014", + "authors":["9yte"] + }, + { + "cveid": "CVE-2017-5638", + "cvexid": "cvex-210825-015", + "authors":["9yte"] + }, + { + "cveid": "CVE-2016-3714", + "cvexid": "cvex-210825-016", + "authors":["Trevillie"] + },{ + "cveid": "CVE-2019-14234", + "cvexid": "cvex-210825-017", + "authors":["Trevillie"] + }, + { + "cveid": "CVE-210825-018", + "cvexid": "cvex-210825-018", + "authors":["Trevillie"], + "valid": false + }, + { + "cveid": "CVE-2017-12650", + "cvexid": "cvex-210825-019", + "authors":["robmcl4"] + }, + { + "cveid": "CVE-2015-1427", + "cvexid": "cvex-210825-020", + "authors":["xavierholt"] + }, + { + "cveid": "CVE-2018-16509", + "cvexid": "cvex-210825-021", + "authors":["xavierholt"] + }, + { + "cveid": "CVE-2018-19475", + "cvexid": "cvex-210825-022", + "authors":["xavierholt"] + } + , + { + "cveid": "CVE-2019-6116", + "cvexid": "cvex-210825-023", + "authors":["xavierholt"] + }, + { + "cveid": "CVE-2018-11776", + "cvexid": "cvex-210825-024", + "authors":["ruaronicola"] + }, + { + "cveid": "CVE-2019-15107", + "cvexid": "cvex-210825-025", + "authors":["dipanjan"] + }, + { + "cveid": "CVE-2019-9193", + "cvexid": "cvex-210825-026", + "authors":["xavierholt"] + + }, + { + "cveid":"CVE-2014-6271", + "cvexid":"cvex-210825-027", + "authors":["xavierholt"] + }, + { + "cveid":"CVE-2015-3306", + "cvexid":"cvex-210825-028", + "authors":["rjt-gupta"] + }, + { + "cveid":"CVE-2017-5941", + "cvexid":"cvex-210825-029", + "authors":["rjt-gupta"] + }, + { + "cveid":"CVE-2020-5192", + "cvexid":"cvex-210825-030", + "authors":["dipanjan"] + }, + { + "cveid":"CVE-2020-25487", + "cvexid":"cvex-210825-031", + "authors":["dipanjan"] + }, + { + "cveid":"CVE-2020-29283", + "cvexid":"cvex-210825-032", + "authors":["PriyankaBose"] + }, + { + "cveid":"CVE-2019-6340", + "cvexid":"cvex-210825-033", + "authors":["ruaronicola"] + }, + { + "cveid":"CVE-2017-17405", + "cvexid":"cvex-210825-034", + "authors":["Trevillie"] + }, + { + "cveid": "CVE-2018-8733", + "cvexid": "cvex-210825-035", + "authors": ["9yte"] + }, + + + + { + "cveid": "CVE-2018-7600", + "cvexid": "cvex-210825-036", + "authors": ["pagabuc"] + }, + { + "cveid": "CVE-2019-15715", + "cvexid": "cvex-210825-037", + "authors": ["gal1ium"] + }, + { + "cveid": "CVE-2018-17181", + "cvexid": "cvex-210825-038", + "authors": ["pagabuc", "f-kalantari"] + }, + { + "cveid": "CVE-2018-15143", + "cvexid": "cvex-210825-039", + "authors": ["pagabuc", "f-kalantari"] + }, + { + "cveid": "CVE-2018-15145", + "cvexid": "cvex-210825-040", + "authors": ["pagabuc", "f-kalantari"] + }, + { + "cveid": "CVE-2018-17179", + "cvexid": "cvex-210825-041", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15144", + "cvexid": "cvex-210825-042", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15146", + "cvexid": "cvex-210825-043", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15147", + "cvexid": "cvex-210825-044", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15148", + "cvexid": "cvex-210825-045", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15149", + "cvexid": "cvex-210825-046", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15151", + "cvexid": "cvex-210825-047", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15150", + "cvexid": "cvex-210825-048", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2018-15153", + "cvexid": "cvex-210825-049", + "authors": ["pagabuc", "robmcl4"] + }, + { + "cveid": "CVE-2021-41773", + "cvexid": "cvex-210825-050", + "authors": ["etrickel"] + }, + { + "cveid": "CVE-2021-32305", + "cvexid": "cvex-211021-001", + "authors": ["pagabuc"] + }, + { + "cveid": "CVE-2019-10028", + "cvexid": "cvex-211109-001", + "authors": ["Zion L. Basque", "Paul Emge"] + } +] +} + diff --git a/hugo.toml b/hugo.toml index 4d39f05..e8acd4b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ baseURL = 'http://xplor-cvex.seclab.cs.ucsb.edu/' languageCode = 'en-us' -title = 'CVEX' +title = 'Common Vulneravilities and Exposures with Exploits' theme = 'hugo-xterm' \ No newline at end of file diff --git a/public/404.html b/public/404.html index dc761e3..b8532ec 100644 --- a/public/404.html +++ b/public/404.html @@ -1,7 +1,7 @@ -404 Page not found :: CVEX +404 Page not found :: Common Vulneravilities and Exposures with Exploits @@ -9,11 +9,11 @@ - + - + @@ -27,7 +27,7 @@ href="https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Roboto+Slab:wght@300;400;500&family=Ubuntu+Mono:ital@0;1&display=swap" rel="stylesheet" /> - + @@ -39,6 +39,9 @@