Global existence for a 1D parabolic-elliptic model for chemical aggression in permeable materials