Opened 14 years ago

Closed 14 years ago

#119 closed defect (fixed)

drecam emm - no serial filter...

Reported by: satfox Owned by: rorothetroll
Priority: critical Component:
Severity: medium Keywords: emm drecam drecrypt
Cc: Sensitive: no

Description

for drecam emm code processing there no filter, so when it's receive emm not belonging to specific serial, it's still executed into card.

there any way to put filter to prevent wrong EMM execution like implemented in videoguard2 emm code?

Change History (7)

comment:1 by satfox, 14 years ago

Owner: set to dingo35

comment:2 by satfox, 14 years ago

Owner: dingo35 removed
Priority: majorcritical

comment:3 by satfox, 14 years ago

2009/12/21 23:10:00.274 2828 s oscam: Performing EMM request (len=153)
2009/12/21 23:10:00.274 2828 s EMM:
2009/12/21 23:10:00.274 2828 s 86 00 96 0E 02 95 00 FC 00 AF 00 D4 00 D9 00 DA
2009/12/21 23:10:00.274 00 5C 00 38 00 AD 00 9F 00 88 00 80 00 B3 00 37
2009/12/21 23:10:00.274 00 02 00 8D 3E 82 00 01 0E 00 00 00 01 E1 02 00
2009/12/21 23:10:00.274 56 4B 2F E4 22 D7 F6 CB 84 ED 1D 22 8E 13 F2 D3
2009/12/21 23:10:00.274 F5 46 C9 1C 93 3B F0 ED D4 BD A7 E6 1E 8F 18 F5
2009/12/21 23:10:00.274 1D F0 8F 5C 05 BF 7B F9 28 F1 D1 BB C7 82 00 01
2009/12/21 23:10:00.274 0E 00 00 00 02 35 86 00 3B 4B 2F E4 22 B8 BA 6E
2009/12/21 23:10:00.274 87 04 EA 9F D5 26 D4 E3 62 BE 7A 9A B4 08 AF 1D
2009/12/21 23:10:00.274 45 90 66 E9 95 1D 8A 18 4D F6 74 9F 67 BC 8E 1F
2009/12/21 23:10:00.274 15 C2 DB 2A 40 31 57 70 F0
2009/12/21 23:10:00.430 2828 s DRECRYPT unknown error: 5903E2E7FA9000.
2009/12/21 23:10:00.602 2828 s DRECRYPT unknown error: 5903E2E7FA9000.
2009/12/21 23:10:00.602 2828 s oscam: Completed EMM request (len=153)

comment:4 by satfox, 14 years ago

Owner: set to rorothetroll

I fixed the issue - somebody who able to checkin - please add following lines

diff reader-dre.c reader-dre.c.good
115a116,118

case 0xe3:

cs_log ("DRECRYPT illegal command: %s.", cs_hexdump (0, cta_res, cta_lr));
break;

310a314,317

check for shared address

if(ep->emm[3]!=reader[ridx].sa[0][0])

return 1; ignore, wrong address

comment:5 by landlord, 14 years ago

Resolution: fixed
Status: newclosed

Applied with rev 936.

comment:6 by satfox, 14 years ago

Resolution: fixed
Status: closedreopened

you miss shared address filter fix

310a314,317

check for shared address

if(ep->emm[3]!=reader[ridx].sa[0][0])

return 1; ignore, wrong address

comment:7 by landlord, 14 years ago

Resolution: fixed
Status: reopenedclosed

Applied with rev 938.

Note: See TracTickets for help on using tickets.