🇰🇷 한글 설명
vas3k TaxHacker 0.8.5 이하 버전의 Invoice PDF Renderer 컴포넌트에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. /apps/invoices/actions.ts 파일의 generateInvoicePDF 함수 내 businessLogo 인자를 조작하여 발생하며, 원격 공격이 가능하고 익스플로잇이 공개된 상태입니다.
💡 쉬운 설명
해커가 송장 PDF를 만드는 과정에서 이미지 주소를 조작해 서버가 내부 네트워크의 다른 곳에 접속하게 만드는 공격입니다. 이로 인해 서버 내부의 민감한 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
A vulnerability was detected in vas3k TaxHacker up to 0.8.5. Affected is the function generateInvoicePDF of the file /apps/invoices/actions.ts of the component Invoice PDF Renderer. Performing a manipulation of the argument businessLogo results in server-side request forgery. The attack is possible to be carried out remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
vas3k TaxHacker version 0.8.5 and below
⚔️ 공격 벡터
원격에서 businessLogo 인자 값을 조작하여 서버 측 요청 위조(SSRF) 수행
🛡️ 대응 방법
해당 함수에서 입력값에 대한 검증 로직을 추가하거나, 허용된 도메인의 이미지 URL만 사용하도록 제한해야 합니다.
🔧 검증 코드
해당 파일 내에 취약한 함수가 존재하는지 확인하여 영향 여부를 판단합니다.
grep -r "generateInvoicePDF" /apps/invoices/actions.ts