CardShare.cc
Z2U.com - IPTV
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Page 27 of 27 FirstFirst ... 21722252627
Results 261 to 270 of 270

Thread: ║➽║OScam║➽║ OScam emu Changelogs ║

  1. #261
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12017




    cacheex-aio: validate camd35/cccam wire bounds and fix feature trigger overflows


    Harden CS_CACHEEX_AIO camd35 and CCcam packet parsers and serializers
    against remote buffer overflows, out-of-bounds reads, and sender crashes:


    - Pass actual received packet length into camd35_cacheex_feature_trigger_in(),
    cc_cacheex_feature_trigger_in(), camd35_cacheex_push_in(), and
    cc_cacheex_push_in(), rejecting truncated or malformed packets before
    modifying peer filter tables or allocating node lists.
    - Validate nprids <= CS_MAXPROV and full entry bounds in Feature 64
    (lg_only_tab) receivers to prevent remote stack buffer overflow.
    - Clamp Feature 32 (aio_version) strnlen() length to available packet bytes.
    - Validate node list byte count and maxhop/maxhop_lg before allocating
    csp_lastnodes in push_in handlers, and check for the trailing LG flag byte
    only when present in the packet (preventing heap OOB reads and stale-buffer
    localgenerated spoofing from non-AIO peers).
    - Fix Feature 64 sender uint8_t loop wrap/stack smash (>= 256 hex chars),
    use exact binary length (bin_len + 1) checked against payload capacity,
    and return NULL on OOM in cxaio_ftab_to_buf() (avoiding free("") crash).
    - Account for the 4-byte feature header in Feature 2/4/8 sender bounds checks
    (fixing off-by-4 stack overflows), guard cl->reader/cl->account NULL
    pointers, remove dead VLA copy in cc_cacheex_feature_trigger(), and advance
    offset i even when d->caid == 0 in Feature 4.


    thanks tem_invictus

  2. Z2U.com - IPTV
  3. #262
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12018-


    cacheex-aio: fix waittime_block_time type mismatch and WebIF aio_version XSS/JSON injection


    Fix two CS_CACHEEX_AIO memory/security bugs:


    - Change cfg.waittime_block_time in globals.h from uint16_t to int32_t to
    match DEF_OPT_INT32 in oscam-config-global.c (preventing 4-byte memcpy
    into a 2-byte field from corrupting adjacent cfg.csp on 32-bit targets,
    reading as 0 on 64-bit big-endian, or accessing padding on 64-bit LE).
    - Encode remote peer-supplied aio_version (and CCcam remote_oscam in AIO
    protocol titles) with json_encode() for JSON API responses and xml_encode()
    for HTML/XML responses across send_oscam_reader() and
    webif_add_client_proto().
    - Build protoicon <img> elements via jQuery DOM attributes instead of raw
    HTML string concatenation in webif/include/jscript.js to prevent DOM XSS
    when polling JSON status/reader updates.


    thanks tem_invictus

  4. #263
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12019


    cacheex-aio: fix get_cw() ecm_cache bounds and guard NULL dereferences


    Fix ECM hash over-read/poisoning and multiple unguarded NULL pointer
    dereferences in CS_CACHEEX_AIO paths:


    - Move ecm_cache_check() in get_cw() after ecmlen/MAX_ECM_SIZE validation,
    sct_len/betatunnel normalization, and the existing cacheex_update_hash()
    call; guard cacheex_update_hash() against ecmlen <= 3 or > MAX_ECM_SIZE
    and skip csp_hash == 0 in ecm_cache_check().
    - Guard er->selected_reader before logging label in add_cache()
    (cacheex_nopushafter / cacheex_dropdiffs) and guard cl->account in
    check_cache().
    - Guard cl->reader and cl->account in cacheex_add_to_cache_int() VideoGuard
    checks (preventing crash on CSP pushes where cl->account == NULL).
    - Guard check_client(cl), cl->account, and cl->reader in
    camd35_cacheex_feature_request_save() and cc_cacheex_feature_request_save().
    - Replace redundant cl->reader->cacheex.feature_bitfield check in
    send_oscam_reader() with else (avoiding NULL deref when cl == NULL).


    thanks tem_invictus

  5. #264
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12020


    cacheex: synchronize live filter, lg_only, and nopushafter table access


    Remote CacheEX / CacheEX-AIO protocol handlers (feature triggers 2/4/8/64
    and legacy push filter updates) as well as live config updates mutate peer
    and global filter_caidtab, lg_only_tab, lg_only_in_tab, and
    cacheex_nopushafter_tab tables via *_clear() / *_add() (freeing and
    reallocating their backing arrays) while concurrent push, cache lookup,
    ECM handling, config save, and WebIF threads read those same tables
    without synchronization, risking use-after-free and data races.


    Introduce a strictly-leaf rwlock (cacheex_filter_lock) with
    cacheex_filter_rdlock() / cacheex_filter_wrlock() / cacheex_filter_unlock()
    helpers (no-op stubs when CS_CACHEEX is disabled):
    - Acquire the write lock around remote feature/filter updates in
    module-camd35-cacheex.c and module-cccam-cacheex.c, config parse/fixup
    updates (cacheex_hitvaluetab_fn, cacheex_ftab_fn,
    cacheex_caidvaluetab_fn), and teardown table clears.
    - Acquire the read lock strictly around table evaluation and formatting in
    cacheex_cache_push(), check_cache(), add_cache(),
    get_cacheex_nopushafter(), oscam-ecm.c, module-csp.c, outgoing protocol
    serializers, incoming filter/lg-only checks, config save, and WebIF
    readers, always releasing before network I/O, file output, or other
    locks.


    thanks tem_invictus

  6. #265
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12021


    cacheex: free ll_cacheex_stats in free_client() and avoid shutdown UAF


    free_client() never destroyed cl->ll_cacheex_stats, leaking the list,
    its mutex, and all S_CACHEEX_STAT_ENTRY nodes on every client disconnect
    or reader restart whenever cacheexenablestats was enabled.


    Conversely, kill_all_clients() and kill_all_readers() called
    ll_destroy_data(&cl->ll_cacheex_stats) under #ifdef CS_CACHEEX_AIO
    immediately after kill_thread(cl). Because kill_thread() is asynchronous,
    destroying the list before the worker thread finishes and free_client()
    unlinks the client and drains in-flight accesses could cause UAF or
    mutex corruption during shutdown.


    Move ll_destroy_data(&cl->ll_cacheex_stats) into free_client() (under
    #ifdef CS_CACHEEX, matching the field declaration and alongside
    cl->cascadeusers / cl->ra_buf), remove the premature destroys from
    kill_all_clients() and kill_all_readers(), and return early in
    cacheex_add_stats() if ll_create() fails.


    thanks tem_invictus

  7. #266
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12022-


    cacheex: include module-cacheex.h unconditionally in config files


    Commit 08c1ac42 added cacheex_filter_rdlock()/wrlock()/unlock() calls
    in oscam-config-global.c, oscam-config-account.c, and
    oscam-config-reader.c, but those three files still guarded
    #include "module-cacheex.h" with #ifdef CS_CACHEEX_AIO.


    When CS_CACHEEX_AIO is disabled (including the default build), the
    cacheex_filter_*() declarations and no-op stubs were invisible, breaking
    compilation and linking. Include module-cacheex.h unconditionally,
    matching module-webif.c, oscam-cache.c, and oscam-ecm.c.




    thanks tem_invictus

  8. #267
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12023


    webif: replace heap-allocated new_proto with stack buffer


    In send_oscam_reader(), new_proto was declared uninitialized, allocated
    when (rdr->cacheex.feature_bitfield || (cl && cl->c35_extmode > 1)),
    used without checking cs_malloc() failure, and only freed when
    rdr->cacheex.feature_bitfield was non-zero — leaking memory on every
    readers page render for camd35 c35_extmode > 1 readers and risking
    uninitialized or NULL pointer dereferences. Additionally,
    CLIENTPROTOTITLE was not cleared for connected non-AIO readers.


    Replace the cs_malloc()/cs_strncat()/free() pattern with a fixed stack
    buffer (char new_proto[64] + snprintf()) in send_oscam_reader(),
    send_oscam_user(), and send_oscam_status(), size picon_name accordingly,
    clear CLIENTPROTOTITLE for non-AIO readers, and guard
    latestclient->account before dereferencing.




    thanks tem_invictus

  9. #268
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12024


    cacheex-aio: fix localgenerated, cw_count, lg_only_in, and CWC logic bugs


    Fix five CacheEX-AIO logic bugs in CW caching, ECM answering, and
    CW cycle checking:


    1. Preserve cw->localgenerated in add_cache(): remove the else branch
    that overwrote cw->localgenerated = 0 when a duplicate non-lg CW
    arrived for an already lg-flagged cached CW (new entries are already
    zero-initialized).
    2. Avoid debug-dependent er->cw_count mutation in
    write_ecm_answer_fromcache(): remove the ^= 0x0F000000 side effect
    inside cs_log_dbg() and mask out the 0x0F000000 flag bits cleanly in
    both write_ecm_answer_fromcache() and send_dcw() so cw_count is never
    corrupted into 25165824x.
    3. Track localgenerated per reader answer (ea->localgenerated) instead
    of mutating the shared ECM_REQUEST before a winning answer is chosen:
    stop setting er->localgenerated unconditionally in reader-common.c
    (even on E_NOTFOUND), reset cl->ecmtask[n].localgenerated = 0 in
    casc_process_ecm(), evaluate lg_only_in / CWC / cache / reader stats
    using the current answer's is_lg, and copy ea->localgenerated onto
    ert->localgenerated in chk_dcw() when a reader wins.
    4. Always mark ea->status |= REQUEST_ANSWERED when lg_only_in rejects a
    non-lg CW in write_ecm_answer() (keeping dontwriteStats = 1): skipping
    REQUEST_ANSWERED left the reader permanently pending in chk_dcw(),
    stalling fallback progression and client responses until ctimeout.
    5. Pass the CW's actual localgenerated flag into checkcwcycle() and
    check cw->localgenerated in cwcycle_check_cache() instead of
    er->localgenerated (which is always 0 during cache lookup), so cached
    lg-flagged CWs are not dropped or poisoned with got_bad_cwc = 1.




    thanks tem_invictus

  10. #269
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12025


    cacheex-aio: fix lg_only_tab bit-64 gating and AIO feature handshake


    1. Remove the (feature_bitfield & 64) gate on lg_only_tab in
    cacheex_cache_push() and on lg_only_in_tab in cc_cacheex_push_in():
    config fixups always migrate localgenerated_only[_in]_caidtab into
    lg_only[_in]_tab and clear the legacy caidtabs, so gating on bit 64
    silently disabled local lg_only[_in]_tab enforcement for non-AIO and
    AIO < 9.2.6 peers (matching module-camd35-cacheex.c and
    oscam-cache.c).
    2. Fix AIO feature handshake and cacheex_aio_checked state:
    - Set cl->cacheex_aio_checked = 1 inside
    camd35_cacheex_feature_request(), camd35_cacheex_feature_request_save(),
    cc_cacheex_feature_request(), and cc_cacheex_feature_request_save()
    so cfg.cacheex_filter_caidtab_aio, incoming lg_only_in checks, and
    WebIF aio_version tooltips take effect immediately at login instead
    of waiting for a keepalive.
    - Re-enable camd35_cacheex_feature_request_save() for command 0x41
    replies in camd35_cacheex_server() and camd35_cacheex_recv_chk()
    (with a >= 22 byte bounds check for both 0x40 and 0x41) so Camd35
    peers (including mode 1, which does not exchange 0x3d/0x3e) save
    the remote peer's feature_bitfield from the 0x41 answer.




    thanks tem_invictus

  11. CardShare.cc
  12. #270
    Administrator WaRp's Avatar
    Join Date
    16-08-2015
    Posts
    7,742
    Uploads
    9,487
    Likes
    26,298

    Re: ║➽║OScam║➽║ OScam emu Changelogs ║

    Changeset 12027


    cacheex-aio: fix lg_only_tab wire serialization and merge handling


    Fix two wire-format/merge bugs in CacheEX AIO lg_only_tab exchange
    (feature 64):


    1. In camd35_cacheex_feature_trigger_in() and
    cc_cacheex_feature_trigger_in() when lg_only_remote_settings is
    disabled, parse caid/nprids/prid into locals and add new CAIDs with a
    single-provider FILTER (nprids = 1) instead of calling ftab_add() on a
    partially populated FILTER whose remaining prids[1..nprids-1] were
    still 0x000000. Also check membership with chk_lg_only_cp() (matching
    case 2 and chk_lg_only()) instead of chk_ident_filter(), so wildcard
    entries (NO_PROVID_VALUE or nprids == 0) and prefix CAIDs are
    respected.


    2. In cxaio_ftab_to_buf(), serialize entries with nprids == 0 (all
    providers) using NO_PROVID_VALUE (0xFFFFFE) instead of provider
    0x000000, so the receiving peer treats the entry as matching all
    providers.




    thanks tem_invictus

Page 27 of 27 FirstFirst ... 21722252627

Similar Threads

  1. Update ║➽║OScam║➽║oscam icam_VTI-Images║🔴V.11946║
    By mehmetkarahanlı in forum OSCam Binaries
    Replies: 11
    Last Post: 27-07-2026, 18:34:06
  2. Replies: 42
    Last Post: 27-07-2026, 18:28:57
  3. New ║➽║Daily║WTI║v.15.0.04║ VU+ changelogs║🔴 DOWNLOAD║
    By mehmetkarahanlı in forum Vu+ Images
    Replies: 0
    Last Post: 19-07-2026, 11:15:45
  4. Update ║➽║OScam║➽║Oscam_Binary tausch║11.965║By_kitte888║
    By mehmetkarahanlı in forum OSCam Binaries
    Replies: 20
    Last Post: 05-07-2026, 20:39:20
  5. New ║➽║Daily║ OpenVİX║v.8.6║Changelogs║*.DOWNLOAD║
    By mehmetkarahanlı in forum Vu+ Images
    Replies: 8
    Last Post: 29-04-2026, 21:58:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •