Pesquisa de VulnerabilidadeVulnerability Research
Better PDF Exporter (plugin do Jira) [CVE-2023-42361]Better PDF Exporter (Jira Plugin) [CVE-2023-42361]
Uma falha de Local File Inclusion (LFI) no plugin "Better PDF Exporter" do Jira Server e Data Center — um anexo de imagem malicioso vira leitura de arquivos internos e requisições server-side durante o export do PDF.A Local File Inclusion (LFI) flaw in the "Better PDF Exporter" plugin for Jira Server and Data Center — a malicious image attachment turns into internal file reads and server-side requests during PDF export.
- CVE ID
- CVE-2023-42361
- Severity
- High · LFI + SSRFLFI + SSRF
- Affected
- Better PDF Exporter para Jira Server e Data Center ≤ 10.3.0 (Jira Cloud NÃO afetado)Better PDF Exporter for Jira Server & Data Center ≤ 10.3.0 (Jira Cloud NOT affected)
- Vendor
- Midori (Atlassian Marketplace)
- Disclosure
- Coordenada · corrigida na 11.0.0Coordinated · patched in 11.0.0
- Researcher
- Rodrigo Gava — Vultus
Nosso grupo de pesquisa identificou uma vulnerabilidade relevante de Local File Inclusion (LFI) no plugin Better PDF Exporter para Jira Server e Jira Data Center, amplamente usado. Vale notar que o plugin é destacado como "Staff Pick" no Atlassian Marketplace e já acumulou milhares de instalações.Our research group identified a significant Local File Inclusion (LFI) vulnerability in the widely used Better PDF Exporter plugin for Jira Server and Jira Data Center. It's worth noting that this plugin is highlighted as a "Staff Pick" on the Atlassian Marketplace and has amassed thousands of installations.
ConteúdoContents
Detalhes da vulnerabilidadeVulnerability details
- Identificador CVE: CVE-2023-42361CVE Identifier: CVE-2023-42361
- Produto: Better PDF Exporter para Jira Server e Jira Data Center (a versão do Jira Cloud NÃO é afetada)Product: Better PDF Exporter for Jira Server and Jira Data Center (the Jira Cloud version is NOT affected)
- Versões afetadas: até a 10.3.0Version affected: up to 10.3.0
- Status do patch: a versão 11.0.0, lançada em 11/10/2023, corrige o problema. Todas as versões anteriores são vulneráveis.Patch status: version 11.0.0, released on 11/10/2023, addresses this issue. All prior versions are vulnerable.
ImpactoImpact
- Tipo de ataque: remotoType of attack: remote
- Tipo de problema: Local File Inclusion (LFI) e Server-Side Request Forgery (SSRF)Problem type: Local File Inclusion (LFI) and Server-Side Request Forgery (SSRF)
- Impacto em privilégios: escalação de privilégiosImpact on privileges: escalation of privileges
- Exposição de dados: risco de information disclosureData exposure: risk of information disclosure
- Outros impactos: bypass de IP whitelisting e potencial reconhecimento da rede internaOther impacts: bypassing IP whitelisting and potential for network reconnaissance
DescriçãoDescription
As versões citadas do plugin manifestam a vulnerabilidade ao processar certos anexos de imagem maliciosos. Dentro do Jira Server ou Data Center, uma imagem forjada dispara a falha durante o processo de export de PDF feito pelo Better PDF Exporter. Isso permite que usuários não autorizados acessem arquivos internos do sistema local, chegando inclusive a revelar anexos de outras issues independentemente das permissões configuradas — um caso clássico de Local File Inclusion (LFI). Além disso, a vulnerabilidade dá a potenciais adversários os meios para detectar aplicações web na rede interna e disparar requisições server-side arbitrárias, característica típica de Server-Side Request Forgery (SSRF).The described versions of the plugin manifest a vulnerability when processing certain malicious image attachments. Within Jira Server or Data Center, a crafted image triggers a flaw during the PDF export process facilitated by the Better PDF Exporter plugin. This allows unauthorized users to access internal files on the local system, even revealing attachments from other issues irrespective of their set permissions — a classic case of Local File Inclusion (LFI). Additionally, this vulnerability provides potential adversaries the means to detect web applications on the internal network and make arbitrary server-side requests, a trait of Server-Side Request Forgery (SSRF).
RecomendaçãoRecommendation
Dado o uso difundido e a natureza crítica dessa vulnerabilidade, recomendamos fortemente que usuários das versões afetadas atualizem para a versão 11.0.0 ou posterior imediatamente. Se estiver rodando uma versão mais antiga, tenha cautela redobrada, principalmente com anexos de imagem.Given the widespread use and critical nature of this vulnerability, we strongly urge users of the affected versions to upgrade to version 11.0.0 or a later version immediately. If operating on an older version, exercise extreme caution, particularly with image attachments.
Um artigo detalhado com uma prova de conceito (PoC) sobre essa vulnerabilidade será publicado em breve, esclarecendo melhor o problema.A detailed article with a proof of concept surrounding this vulnerability will be released in the near future, shedding more light on the issue.