Multiple vulnerabilities in Mastodon



Published: 2023-07-10
Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2023-36459
CVE-2023-36460
CVE-2023-36461
CVE-2023-36462
CWE-ID CWE-79
CWE-22
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Mastodon
Server applications / Other server solutions

Vendor Mastodon

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Cross-site scripting

EUVDB-ID: #VU78043

Risk: Low

CVSSv3.1: 5.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-36459

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the oEmbed preview cards. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Mastodon: 1.3 - 4.1.2

External links

http://github.com/mastodon/mastodon/releases/tag/v3.5.9
http://github.com/mastodon/mastodon/security/advisories/GHSA-ccm4-vgcc-73hp
http://github.com/mastodon/mastodon/commit/6d8e0fae3e96f3cf4febe03fa7fcf5b95ff761b2
http://github.com/mastodon/mastodon/releases/tag/v4.0.5
http://github.com/mastodon/mastodon/releases/tag/v4.1.3
http://www.openwall.com/lists/oss-security/2023/07/06/5


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Path traversal

EUVDB-ID: #VU78046

Risk: Medium

CVSSv3.1: 8.6 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-36460

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote user can send a specially crafted HTTP request and create and overwrite arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Mastodon: 3.5.0 - 4.1.2

External links

http://github.com/mastodon/mastodon/releases/tag/v3.5.9
http://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm
http://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440
http://github.com/mastodon/mastodon/releases/tag/v4.0.5
http://github.com/mastodon/mastodon/releases/tag/v4.1.3
http://www.openwall.com/lists/oss-security/2023/07/06/4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Input validation error

EUVDB-ID: #VU78045

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-36461

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to slow HTTP responses. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Mastodon: 0.1.0 - 4.1.2

External links

http://github.com/mastodon/mastodon/releases/tag/v3.5.9
http://github.com/mastodon/mastodon/security/advisories/GHSA-9pxv-6qvf-pjwc
http://github.com/mastodon/mastodon/releases/tag/v4.0.5
http://github.com/mastodon/mastodon/commit/c5929798bf7e56cc2c79b15bed0c4692ded3dcb6
http://github.com/mastodon/mastodon/releases/tag/v4.1.3
http://www.openwall.com/lists/oss-security/2023/07/06/7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Input validation error

EUVDB-ID: #VU78044

Risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-36462

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can craft a verified profile link using specific formatting to conceal arbitrary parts of the link, enabling it to appear to link to a different URL altogether.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Mastodon: 2.6.0 - 4.1.2

External links

http://github.com/mastodon/mastodon/commit/610731b03dfcadd887078cb0399f4e514aa1931c
http://github.com/mastodon/mastodon/releases/tag/v3.5.9
http://github.com/mastodon/mastodon/releases/tag/v4.0.5
http://github.com/mastodon/mastodon/security/advisories/GHSA-55j9-c3mp-6fcq
http://github.com/mastodon/mastodon/releases/tag/v4.1.3


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###